Skip to content

Commit

Permalink
Skip tests for 3-dim sparse array creation in scipy 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
asi1024 committed Jan 20, 2025
1 parent c2d9245 commit 951010a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_init_data_row_col(self):
cupy.testing.assert_array_equal(n.indptr, self.m.indptr)
assert n.shape == self.m.shape

@testing.with_requires('scipy')
@testing.with_requires('scipy<1.15')
def test_init_dense_invalid_ndim(self):
for xp, sp in ((numpy, scipy.sparse), (cupy, sparse)):
with pytest.raises(TypeError):
Expand Down
2 changes: 1 addition & 1 deletion tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_init_data_row_col(self):
cupy.testing.assert_array_equal(n.indptr, self.m.indptr)
assert n.shape == self.m.shape

@testing.with_requires('scipy')
@testing.with_requires('scipy<1.15')
def test_init_dense_invalid_ndim(self):
for xp, sp in ((numpy, scipy.sparse), (cupy, sparse)):
m = xp.zeros((1, 1, 1), dtype=self.dtype)
Expand Down

0 comments on commit 951010a

Please sign in to comment.