Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Update test_bitcrush.py

Anish Paleja509885fac39a
diff --git a/tests/test_bitcrush.py b/tests/test_bitcrush.py
index eccc73d..51981f1 100644
--- a/tests/test_bitcrush.py
+++ b/tests/test_bitcrush.py
@@ -42,5 +42,5 @@ def test_invalid_bit_depth_raises_exception():
Bitcrush(bit_depth=-5)
with pytest.raises(ValueError):
Bitcrush(bit_depth=100)
- with pytest.raises(ValueError):
+ with pytest.raises(TypeError):
Bitcrush(bit_depth=None)