Skip to content

Commit 7125948

Browse files
committed
Ignore future scipy warning and not treat it as an error
(cherry picked from commit b3dc617703da1693bd895229bb4d28326275f7be)
1 parent 509de78 commit 7125948

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/linalg_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,6 +2027,7 @@ def testSqrtmEdgeCase(self, diag, expected, dtype):
20272027

20282028
self.assertAllClose(root, expected, check_dtypes=False)
20292029

2030+
@jtu.ignore_warning(category=FutureWarning, message="Don't treat future SciPy warning as error")
20302031
@jtu.sample_product(
20312032
cshape=[(), (4,), (8,), (4, 7), (2, 1, 5)],
20322033
cdtype=float_types + complex_types,

0 commit comments

Comments
 (0)