Skip to content

Commit b350c4c

Browse files
committed
Fix up test.
1 parent 9d0a3b4 commit b350c4c

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
@@ -1883,7 +1883,7 @@ def test_invalid_device(func, args, kwargs):
18831883
like = sparse.random((5, 5), density=0.5)
18841884
args = (like,) + args
18851885

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

18891889

0 commit comments

Comments
 (0)