#14623: occasional doctest failure in test_graceful_exit
-------------------------------------+--------------------------------------
Reporter: vbraun | Owner: roed
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: doctest framework | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Changes (by {'newvalue': u'Volker Braun', 'oldvalue': ''}):
* cc: jdemeyer (added)
* status: new => needs_review
* author: => Volker Braun
Comment:
One could think about fixing this on the level of the doctest framework,
but then it seems to be unlikely enough that we don't really have to worry
about this. My trivial patch just unquotes stuff.
For the record, the doctest failure looks like this:
{{{
sage -t --long sage/tests/interrupt.pyx
**********************************************************************
File "sage/tests/interrupt.pyx", line 846, in
sage.tests.interrupt.test_graceful_exit
Failed example:
P.stdout.read() # long time
Expected:
'...Exiting spawned PARI/GP interpreter process...'
Got:
"---------------------------------------------------------------------------\nTypeError
Traceback (most recent call last)\nTypeError: 'int' object is not
callable\nsage: \nExiting Sage (CPU time 0m0.34s, Wall time
0m0.47s).\nExiting spawned PARI/GP interpreter process.\n"
**********************************************************************
1 item had failures:
1 of 10 in sage.tests.interrupt.test_graceful_exit
[97 tests, 1 failure, 24.88 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14623#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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.