python/tests/test_filterbank_mel.py: ignore UserWarnings
authorPaul Brossier <piem@piem.org>
Thu, 14 Sep 2017 14:33:56 +0000 (16:33 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 14 Sep 2017 14:33:56 +0000 (16:33 +0200)
python/tests/test_filterbank_mel.py

index 4df7342..a45dbf0 100755 (executable)
@@ -5,6 +5,9 @@ from numpy.testing import TestCase, assert_equal, assert_almost_equal
 
 from aubio import cvec, filterbank, float_type
 
+import warnings
+warnings.filterwarnings('ignore', category=UserWarning, append=True)
+
 class aubio_filterbank_mel_test_case(TestCase):
 
     def test_slaney(self):