#8835: mark some latex doctests optional
-----------------------+----------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.4.1
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
On t2 we have some failures due to assumptions in doctests about the latex
install. As latex is not a prereq for sage, not having it shouldn't
result in latex errors. These should thus be marked
{{{
# optional - latex
}}}
The failures:
{{{
sage -t -long "devel/sage/sage/misc/latex.py"
**********************************************************************
File
"/scratch/wstein/build/sage-4.4.1.alpha2/devel/sage/sage/misc/latex.py",
line 1023:
sage: latex.has_file("article.cls")
Expected:
True
Got:
False
**********************************************************************
File
"/scratch/wstein/build/sage-4.4.1.alpha2/devel/sage/sage/misc/latex.py",
line 1050:
sage: latex.check_file("article.cls")
Expected nothing
Got:
<BLANKLINE>
Warning: `article.cls` is not part of this computer's TeX
installation.
**********************************************************************
File
"/scratch/wstein/build/sage-4.4.1.alpha2/devel/sage/sage/misc/latex.py",
line 1207:
sage: latex.extra_preamble()
Expected:
'\\usepackage{xypic}\n'
Got:
''
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_28
1 of 6 in __main__.example_29
1 of 6 in __main__.example_35
***Test Failed*** 3 failures.
For whitespace errors, see the file
/scratch/wstein/sage//tmp/.doctest_latex.py
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8835>
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.