Skip to content

Commit 34dc1a3

Browse files
committed
codecov
1 parent 88727b5 commit 34dc1a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

numcodecs/tests/test_checksum32.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ def test_err_encode_list(codec):
8181
codec.encode(data)
8282

8383

84+
def test_err_location():
85+
with pytest.raises(ValueError):
86+
CRC32(location="foo")
87+
with pytest.raises(ValueError):
88+
CRC32C(location="foo")
89+
with pytest.raises(ValueError):
90+
Adler32(location="foo")
91+
92+
8493
def test_repr():
8594
check_repr("CRC32(location='start')")
8695
check_repr("CRC32C(location='start')")

0 commit comments

Comments
 (0)