void-packages/srcpkgs/sagemath/patches/trac-33170b-fix_doctest_ipython_8.1.patch
Gonzalo Tornaría 300bcb86a8 sagemath: rebuild for package updates
- 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
2022-04-04 22:22:54 +02:00

13 lines
397 B
Diff

Fix for ipython 8.1
--- a/src/sage/repl/interpreter.py
+++ b/src/sage/repl/interpreter.py
@@ -78,7 +78,7 @@ Check that Cython source code appears in tracebacks::
dummy line
...
ZeroDivisionError...Traceback (most recent call last)
- ...in <module>...
+ ...
----> 1 Integer(1)/Integer(0)
.../sage/rings/integer.pyx... in sage.rings.integer.Integer...div...
...