Skip to content

Commit 03d494e

Browse files
committed
Fix failing test case
1 parent fc974b9 commit 03d494e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numcodecs/tests/test_registry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
import numcodecs
66
from numcodecs.registry import get_codec
7+
from numcodecs.errors import UnknownCodecError
78

89

910
def test_registry_errors():
10-
with pytest.raises(ValueError):
11+
with pytest.raises(UnknownCodecError):
1112
get_codec({'id': 'foo'})
1213

1314

0 commit comments

Comments
 (0)