From 283bb901b1ba4321c831e0ad6455784c84bc18f7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 14 May 2016 05:34:15 +0200 Subject: [PATCH] python/tests/test_specdesc.py: skip wrong name test --- python/tests/test_specdesc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/tests/test_specdesc.py b/python/tests/test_specdesc.py index c365f830..86632003 100755 --- a/python/tests/test_specdesc.py +++ b/python/tests/test_specdesc.py @@ -240,7 +240,9 @@ class aubio_specdesc_wrong(TestCase): def test_unknown(self): # FIXME should fail? - o = specdesc("unknown", 512) + with self.assertRaises(ValueError): + o = specdesc("unknown", 512) + self.skipTest('todo: new_specdesc should fail on wrong method') if __name__ == '__main__': from unittest import main -- 2.11.0