From 386592474cb865541bdaf4be771003ada24e67d9 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 14 May 2016 05:24:21 +0200 Subject: [PATCH] python/tests/test_filterbank.py: raise a ValueError --- python/tests/test_filterbank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0