#14523: can't exit or detach after error in attached file
----------------------------------+-----------------------------------------
Reporter: mstreng | Owner: was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.11
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Volker Braun | Merged in:
Dependencies: #14266 | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
Doctest failures:
{{{
sage -t devel/sage/sage/misc/sageinspect.py
**********************************************************************
File "devel/sage/sage/misc/sageinspect.py", line 57, in
sage.misc.sageinspect
Failed example:
import sage.misc.attach
Exception raised:
Traceback (most recent call last):
File "/mazur/release/merger/sage-5.11.beta2/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 486, in _run
self.execute(example, compiled, test.globs)
File "/mazur/release/merger/sage-5.11.beta2/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 845, in execute
exec compiled in globs
File "<doctest sage.misc.sageinspect[10]>", line 1, in <module>
import sage.misc.attach
ImportError: No module named attach
**********************************************************************
}}}
and
{{{
sage -t --long devel/sage/sage/misc/inputhook.py
**********************************************************************
File "devel/sage/sage/misc/inputhook.py", line 42, in
sage.misc.inputhook.sage_inputhook
Failed example:
shell.run_cell('sage_inputhook()')
Expected:
### reloading attached file tmp_....py modified at ... ###
0
Got:
0
**********************************************************************
File "devel/sage/sage/misc/inputhook.py", line 46, in
sage.misc.inputhook.sage_inputhook
Failed example:
shell.run_cell('a')
Expected:
3
Got:
2
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14523#comment:24>
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/groups/opt_out.