#9316: Spurious (?) "# File not found" error at end of doctests
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  wjp         
       Type:  defect   |      Status:  needs_review
   Priority:  major    |   Milestone:  sage-4.5    
  Component:  doctest  |    Keywords:              
     Author:           |    Upstream:  N/A         
   Reviewer:           |      Merged:              
Work_issues:           |  
-----------------------+----------------------------------------------------
Changes (by wjp):

  * status:  new => needs_review


Comment:

 This appears to be caused by timeouts not being properly handled by
 {{{sage-doctest}}}. It prints the error message, but then doesn't actually
 do anything with it. It looks like I completely missed that case when
 doing #7993. This also explains the strange exception John is seeing. It's
 reaching code that shouldn't be reached in this case.

 In the patch I'm attaching, I'm making {{{sage-doctest}}} return exit code
 5 for a time out, and {{{sage-test}}} and {{{sage-ptest}}} will also
 interpret that that way.

 (Note that this will conflict with #8641, but the conflict is easy to
 resolve.)

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