#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):
The `KeyboardInterrupt` example
[http://boxen.math.washington.edu/home/jdemeyer/doctest/keyboardinterrupt.py]
still doesn't work correctly:
{{{
Running doctests with ID 2012-07-13-10-53-02-ed232e22.
Doctesting 1 file.
sage -t /home/jdemeyer/doctest/keyboardinterrupt.py
Unexpected KeyboardInterrupt raised in file
********************************************************************************
Tests run before interrupt:
sage: raise KeyboardInterrupt ## line 2 ##
********************************************************************************
------------------------------------------------------------------------
sage -t /home/jdemeyer/doctest/keyboardinterrupt.py # Unhandled
KeyboardInterrupt
------------------------------------------------------------------------
Total time for all tests: 1.1 seconds
cpu time: 0.0 seconds
cumulative wall time: 0.0 seconds
}}}
The expected result is that the test passes. I don't mind if you don't
fix this (currently, it's also broken), but I thought you should know...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:106>
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.