300bcb86a8
- compatibility with lrcalc 2.1 (trac #31355) - fix doctests for ipython-8.1 (trac #33170) - fix doctests for scipy-1.8 (trac #33336) - fix doctests for sympy-1.10 (trac #33398) - fix doctests when sphinx is installed (trac #33585) - use new package threejs-sage for 3d plots
40 lines
1.7 KiB
Diff
40 lines
1.7 KiB
Diff
As produced by `git diff a90a3146{^^,}`
|
|
|
|
diff --git a/src/sage/repl/interface_magic.py b/src/sage/repl/interface_magic.py
|
|
index 8a455b69b0e..a93e1c9e04c 100644
|
|
--- a/src/sage/repl/interface_magic.py
|
|
+++ b/src/sage/repl/interface_magic.py
|
|
@@ -260,7 +260,7 @@ class InterfaceMagic(object):
|
|
2
|
|
120
|
|
sage: shell.run_cell('%%gap foo\n1+1;\n')
|
|
- ...File "<string>", line unknown
|
|
+ ...File...<string>...
|
|
SyntaxError: Interface magics have no options, got "foo"
|
|
<BLANKLINE>
|
|
sage: shell.run_cell('%%gap?')
|
|
diff --git a/src/sage/repl/interpreter.py b/src/sage/repl/interpreter.py
|
|
index 7468afe52d7..06c47b7374a 100644
|
|
--- a/src/sage/repl/interpreter.py
|
|
+++ b/src/sage/repl/interpreter.py
|
|
@@ -78,9 +78,9 @@ Check that Cython source code appears in tracebacks::
|
|
dummy line
|
|
...
|
|
ZeroDivisionError...Traceback (most recent call last)
|
|
- <ipython-input-...> in <module>...
|
|
+ ...in <module>...
|
|
----> 1 Integer(1)/Integer(0)
|
|
- .../sage/rings/integer.pyx in sage.rings.integer.Integer...div...
|
|
+ .../sage/rings/integer.pyx... in sage.rings.integer.Integer...div...
|
|
...
|
|
-> ... raise ZeroDivisionError("rational division by zero")
|
|
....: x = <Rational> Rational.__new__(Rational)
|
|
@@ -423,7 +423,7 @@ def SagePreparseTransformer(lines):
|
|
sage: from sage.repl.interpreter import get_test_shell
|
|
sage: shell = get_test_shell()
|
|
sage: shell.run_cell(bad_syntax)
|
|
- File "<string>", line unknown
|
|
+ File...<string>...
|
|
SyntaxError: Mismatched ']'
|
|
<BLANKLINE>
|
|
sage: shell.quit()
|