Skip to content

Commit 19757e3

Browse files
committed
Fix error handling
1 parent edca989 commit 19757e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ndarray/test_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
def test_mode(shape, fill_value, cparams, dparams, dtype, urlpath, contiguous, mode):
3939
blosc2.remove_urlpath(urlpath)
4040
if mode == "r":
41-
with pytest.raises(RuntimeError):
41+
with pytest.raises(ValueError):
4242
blosc2.full(
4343
shape,
4444
fill_value,

0 commit comments

Comments
 (0)