Skip to content

Commit c0743b9

Browse files
committed
Fix up test.
1 parent a333112 commit c0743b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sparse/numba_backend/tests/test_coo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ def test_invalid_device(func, args, kwargs):
18961896
like = sparse.random((5, 5), density=0.5)
18971897
args = (like,) + args
18981898

1899-
with pytest.raises(ValueError, match="Device must be"):
1899+
with pytest.raises(BufferError, match="Device must be"):
19001900
func(*args, device="invalid_device", **kwargs)
19011901

19021902

0 commit comments

Comments
 (0)