From 12e91a680545bd819da14f4098ef8235c97f7da5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 23 Sep 2016 00:07:36 +0200 Subject: [PATCH] python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode --- python/tests/test_specdesc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/tests/test_specdesc.py b/python/tests/test_specdesc.py index 063d13d5..d7769dce 100755 --- a/python/tests/test_specdesc.py +++ b/python/tests/test_specdesc.py @@ -225,10 +225,8 @@ class aubio_specdesc_wrong(TestCase): specdesc("default", -10) def test_unknown(self): - # FIXME should fail? - with self.assertRaises(ValueError): + with self.assertRaises(RuntimeError): specdesc("unknown", 512) - self.skipTest('todo: new_specdesc should fail on wrong method') if __name__ == '__main__': main() -- 2.11.0