#12415: Update doctesting framework
-------------------------------------------------------------------------------------------------------------------------+
Reporter: robertwb
| Owner: mvngu
Type: enhancement
| Status: needs_review
Priority: major
| Milestone: sage-5.1
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 | Stopgaps:
-------------------------------------------------------------------------------------------------------------------------+
Comment (by roed):
New version posted. `sage -t --long -a` passes all tests except the one
related to #13145.
`/home/jdemeyer/doctest/keyboardinterrupt.py` passes if you remove the
trailing colon. I've updated the framework to recover a bit more
gracefully if a doctest raises an unexpected KeyboardInterrupt, but it
behaves a bit strangely since it's difficult to distinguish between an
actual interrupt (in which case the testing should terminate) and one
raised by a doctest (in which case tests of other files could continue).
I think the new behavior is actually fairly reasonable: try it on your
file without removing the colon.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:70>
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.