We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3687271 commit 91d05e4Copy full SHA for 91d05e4
numcodecs/tests/test_bitround.py
@@ -78,3 +78,5 @@ def test_errors():
78
BitRound(keepbits=99).encode(np.array([0], dtype="float32"))
79
with pytest.raises(TypeError):
80
BitRound(keepbits=10).encode(np.array([0]))
81
+ with pytest.raises(ValueError):
82
+ BitRound(-1)
0 commit comments