shithub: aubio

Download patch

ref: 386592474cb865541bdaf4be771003ada24e67d9
parent: 36e8956ab894e66488a9e526e2fb1af02ba496ab
author: Paul Brossier <piem@piem.org>
date: Sat May 14 01:24:21 EDT 2016

python/tests/test_filterbank.py: raise a ValueError

--- a/python/tests/test_filterbank.py
+++ b/python/tests/test_filterbank.py
@@ -67,7 +67,7 @@
         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)