Skip to content

Commit d8e50e9

Browse files
committed
Disable test_scipy_crashes tests for SciPy versions that no longer crash
1 parent fa61fed commit d8e50e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/tests/test_scipy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def test_read_array_or_coo(self):
132132

133133
self.assertMatrixEqual(m, m_fmm)
134134

135+
@unittest.skipIf(scipy is None or not scipy.__version__.startswith("1.11"),
136+
"SciPy 1.12 ships FMM so this no longer crashes.")
135137
def test_scipy_crashes(self):
136138
for mtx in sorted(list((matrices / "scipy_crashes").glob("*.mtx*"))):
137139
with self.subTest(msg=mtx.stem):

0 commit comments

Comments
 (0)