#12986: randorder doctest failures for sage/sage/misc/latex.py
-----------------------------+----------------------------------------------
Reporter: saliola | Owner: jason, was
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-5.1
Component: graphics | Keywords: latex, randorder
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
There are various and differing failures when testing {{{latex.py}}} using
{{{-randorder}}}.
Note that John Palimieri's patch at #11311 improves things substantially:
with that patch applied, I only seem to get the following error
(sometimes):
{{{
sage -t --randorder "devel/sage-reviews/sage/misc/latex.py"
**********************************************************************
File "/Users/saliola/Applications/sage-5.0/devel/sage-
reviews/sage/misc/latex.py", line 217:
sage: builtin_constant_function(True)
Expected:
'\\mbox{\\rm True}'
Got:
'{\\rm True}'
**********************************************************************
File "/Users/saliola/Applications/sage-5.0/devel/sage-
reviews/sage/misc/latex.py", line 219:
sage: builtin_constant_function(None)
Expected:
'\\mbox{\\rm None}'
Got:
'{\\rm None}'
**********************************************************************
File "/Users/saliola/Applications/sage-5.0/devel/sage-
reviews/sage/misc/latex.py", line 221:
sage: builtin_constant_function(NotImplemented)
Expected:
'\\mbox{\\rm NotImplemented}'
Got:
'{\\rm NotImplemented}'
**********************************************************************
File "/Users/saliola/Applications/sage-5.0/devel/sage-
reviews/sage/misc/latex.py", line 223:
sage: builtin_constant_function(Ellipsis)
Expected:
'\\mbox{\\rm Ellipsis}'
Got:
'{\\rm Ellipsis}'
**********************************************************************
1 items had failures:
4 of 11 in __main__.example_1666414610
***Test Failed*** 4 failures.
For whitespace errors, see the file
/Users/saliola/.sage//tmp/latex_72905.py
[7.9 s]
----------------------------------------------------------------------
The following tests failed:
sage -t --randorder "devel/sage-reviews/sage/misc/latex.py"
Total time for all tests: 7.9 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12986>
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.