From: Paul Brossier Date: Sat, 14 May 2016 03:24:21 +0000 (+0200) Subject: python/tests/test_filterbank.py: raise a ValueError X-Git-Tag: 0.4.4~300^2~47 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=386592474cb865541bdaf4be771003ada24e67d9 python/tests/test_filterbank.py: raise a ValueError --- diff --git a/python/tests/test_filterbank.py b/python/tests/test_filterbank.py index bce832e3..4bc70fb2 100755 --- a/python/tests/test_filterbank.py +++ b/python/tests/test_filterbank.py @@ -67,7 +67,7 @@ class aubio_filterbank_wrong_values(TestCase): self.assertRaises(ValueError, filterbank, 40, -20) def test_negative_filters(self): - self.assertRaises(RuntimeError, filterbank, -40, 1024) + self.assertRaises(ValueError, filterbank, -40, 1024) def test_filterbank_long_cvec(self): f = filterbank(40, 512)