void-packages/srcpkgs/sagemath/patches/trac-33336-fix_doctest_scip...

20 lines
876 B
Diff

commit 9c8235e44ffb509efa8a3ca6cdb55154e2b5066d
Author: Antonio Rojas <arojas@archlinux.org>
Date: Sun Feb 13 19:53:14 2022 +0100
Fix deprecation warning with scipy 1.8
diff --git a/src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py b/src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py
index e9b60dae5ec..7932167b41d 100644
--- a/src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py
+++ b/src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py
@@ -356,7 +356,7 @@ Sage example in ./linsolve.tex, line 2230::
Sage example in ./linsolve.tex, line 2609::
- sage: from scipy.sparse.linalg.dsolve import *
+ sage: from scipy.sparse.linalg import factorized
sage: from scipy.sparse import lil_matrix
sage: from numpy import array
sage: n = 200