#8699: allow doctest coverage script to handle triple single quotes
-----------------------------------+----------------------------------------
       Reporter:  mvngu            |         Owner:  tbd                        
   
           Type:  enhancement      |        Status:  needs_review               
   
       Priority:  minor            |     Milestone:  
sage-duplicate/invalid/wontfix
      Component:  doctest          |    Resolution:                             
   
       Keywords:  7 years          |   Work issues:  Slight bug in 
implementation. 
Report Upstream:  N/A              |     Reviewers:  Mike Hansen                
   
        Authors:  Minh Van Nguyen  |     Merged in:                             
   
   Dependencies:                   |      Stopgaps:                             
   
-----------------------------------+----------------------------------------
Changes (by tscrim):

  * milestone:  sage-5.7 => sage-duplicate/invalid/wontfix


Comment:

 This seems to be fixed by #14061:
 {{{
 travis@travis-virtualbox:~/sage-5.7.beta3/devel/sage-reviews/sage$ sage
 -coverage test_8699.py
 ----------------------------------------------------------------------
 test_8699.py
 SCORE test_8699.py: 0% (0 of 4)

 Missing documentation:
          * foo():
          * bar():
          * baz():
          * correct():

 ----------------------------------------------------------------------
 }}}
 with #14061 applied:
 {{{
 ------------------------------------------------------------------------
 SCORE test_8699.py: 50.0% (2 of 4)

 Missing doctests:
      * line 1: def foo()
      * line 12: def bar()

 Possibly wrong (function name doesn't occur in doctests):
      * line 18: def baz()
 ------------------------------------------------------------------------
 }}}
 My test file:
 {{{
 def foo():
     '''
     foobarbaz
     """

     """
     [..]
     bar baz
     '''
     pass

 def bar():
     '''
     Fixme
     '''
     pass

 def baz():
     '''
     Still working?
     """

     """
     [..]

     EXAMPLES::

         sage: print 5
         5
     '''
     pass

 def correct():
     '''
     Although abit strange.
     """

     """
     [..]

     EXAMPLES::

         sage: correct()
     '''
     pass
 }}}

 Best,[[BR]]
 Travis

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8699#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to