From: Paul Brossier Date: Thu, 22 Sep 2016 22:07:36 +0000 (+0200) Subject: python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode X-Git-Tag: 0.4.4~199 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=12e91a680545bd819da14f4098ef8235c97f7da5;p=aubio.git python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode --- 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()