#16050: miscellaneous cleanup/bugfixes for sage.misc.interpreter and
sage.misc.sage_extension
-------------------------------------+-------------------------------------
Reporter: ohanar | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: misc | Resolution:
Keywords: | Merged in:
Authors: R. Andrew Ohana | Reviewers: Volker Braun
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/ohanar/terminal_app_cleanup | df49c8e619080b506d7ac0c2b6a3e0e1ce85e27b
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vbraun):
Can you also fix the module path in the doctests? ;-)
{{{
sage -t --long src/sage/repl/ipython_extension.py
**********************************************************************
File "src/sage/repl/ipython_extension.py", line 78, in
sage.repl.ipython_extension.SageMagics.crun
Failed example:
from sage.misc.interpreter import get_test_shell
Exception raised:
Traceback (most recent call last):
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.repl.ipython_extension.SageMagics.crun[0]>",
line 1, in <module>
from sage.misc.interpreter import get_test_shell
ImportError: cannot import name get_test_shell
**********************************************************************
File "src/sage/repl/ipython_extension.py", line 79, in
sage.repl.ipython_extension.SageMagics.crun
Failed example:
shell = get_test_shell()
Exception raised:
Traceback (most recent call last):
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.repl.ipython_extension.SageMagics.crun[1]>",
line 1, in <module>
shell = get_test_shell()
NameError: name 'get_test_shell' is not defined
**********************************************************************
1 item had failures:
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16050#comment:15>
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.
For more options, visit https://groups.google.com/d/optout.