Skip to content

Commit

Permalink
Disable test_scipy_crashes tests for SciPy versions that no longer …
Browse files Browse the repository at this point in the history
…crash
  • Loading branch information
alugowski committed Dec 24, 2023
1 parent fa61fed commit d8e50e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/tests/test_scipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def test_read_array_or_coo(self):

self.assertMatrixEqual(m, m_fmm)

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

0 comments on commit d8e50e9

Please sign in to comment.