#14365: One doctest in cmdline.py is too touchy with respect to the shebang
--------------------------------+-------------------------------------------
Reporter: Snark | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: trivial | Milestone: sage-5.9
Component: doctest | Resolution:
Keywords: packaging | Work issues:
Report Upstream: N/A | Reviewers: Leif Leonhardy
Authors: Julien Puydt | Merged in:
Dependencies: | Stopgaps:
--------------------------------+-------------------------------------------
Comment (by Snark):
Oh, that one:
{{{
File "/usr/share/sage/devel/sage-main/sage/tests/cmdline.py", line 347:
sage: print err
Expected:
Traceback (most recent call last):
...
RuntimeError: refusing to run doctests...
Got:
<BLANKLINE>
}}}
I have two like this in cmdline.py and another one in control.py.
And I have a few other places where sage expects an error and doesn't...
like a place where it deliberately asks something about a polytope in
dimension 7 to a palp program which is supposed to work in dimension at
most 6... as debian's (future) palp package goes up to eleven [because
sage goes as far], the test fails because the computation actually works.
But let's get back to this ticket : what do you propose it should test? I
don't think there is such a thing as "another script from $SAGE_LOCAL/bin/
which is unlikely to use some system-wide version / differ in "repackaged"
Sage releases" as Leif put it...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14365#comment:11>
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.