#12415: Update doctesting framework
-----------------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  robertwb                                                      
                                                         |         Owner:  
mvngu         
           Type:  enhancement                                                   
                                                         |        Status:  
needs_work    
       Priority:  major                                                         
                                                         |     Milestone:  
sage-5.3      
      Component:  doctest                                                       
                                                         |    Resolution:       
         
       Keywords:                                                                
                                                         |   Work issues:       
         
Report Upstream:  N/A                                                           
                                                         |     Reviewers:  
Jeroen Demeyer
        Authors:  David Roe, Robert Bradshaw                                    
                                                         |     Merged in:       
         
   Dependencies:  #13147,#13146, #13145, #12723, #12392, #12393, #12395, 
#12396, #12397, #12381, #12382, #12383, #12384, #11871, #13195  |      
Stopgaps:                
-----------------------------------------------------------------------------------------------------------------------------------------+

Comment (by jdemeyer):

 When testing `sage/tests/interrupt.pyx` verbosely, I regularly get errors
 of the form
 {{{
 [...]
 Trying (line 637):    test_try_finally_signal()
 Expecting:
     Traceback (most recent call last):
     ...
     RuntimeError: Aborted
 ok [0.23s]
 Trying (line 100631):    sig_on_count()
 Expecting:
     0
 ok [0.00s]
 sage -t --long devel/sage/sage/tests/interrupt.pyx
 Traceback (most recent call last):
   File "/release/merger/sage-5.1-12415/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 1634, in __call__
   File "/release/merger/sage-5.1-12415/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 725, in run
   File "/release/merger/sage-5.1-12415/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 556, in _run
 AttributeError: Example instance has no attribute 'options'

 ------------------------------------------------------------------------
 sage -t --long devel/sage/sage/tests/interrupt.pyx # AttributeError in
 loading
 ------------------------------------------------------------------------
 Total time for all tests: 12.7 seconds
     cpu time: 0.0 seconds
     cumulative wall time: 0.0 seconds
 }}}

 This looks like a bug in the doctesting framework (unless somehow the
 interrupt tests corrupt the doctest process?)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:108>
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