#1866: [probably fixed] bug in doctesting -- long time not respected in some
contexts
-----------------------+----------------------------------------------------
   Reporter:  was      |          Owner:  failure     
       Type:  defect   |         Status:  needs_review
   Priority:  major    |      Milestone:  sage-4.8    
  Component:  doctest  |       Keywords:              
Work_issues:           |       Upstream:  N/A         
   Reviewer:           |         Author:              
     Merged:           |   Dependencies:              
-----------------------+----------------------------------------------------
Changes (by mjo):

 * cc: mjo (added)
  * status:  new => needs_review
  * upstream:  => N/A


Comment:

 This is fixed. A simple test case:

 {{{
 $ cat sage_extension_tests.sage
 r"""

 A test case for *.sage files.

 ::

     sage: 1
     1

 ::

     sage: 2 # long time
     2

 ::

     sage: 3
     3

 """
 }}}

 I see that the long test is skipped normally:

 {{{
 $ sage -t -verbose sage_extension_tests.sage
 ...
 5 passed and 0 failed.
 }}}

 And executed when -long is passed:

 {{{
 $ sage -t -verbose -long sage_extension_tests.sage
 ...
 6 passed and 0 failed.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1866#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to