shithub: aubio

Download patch

ref: 283bb901b1ba4321c831e0ad6455784c84bc18f7
parent: b6b65cb5c6ed612523f5610eadb6902efe8e084d
author: Paul Brossier <piem@piem.org>
date: Sat May 14 01:34:15 EDT 2016

python/tests/test_specdesc.py: skip wrong name test

--- a/python/tests/test_specdesc.py
+++ b/python/tests/test_specdesc.py
@@ -240,7 +240,9 @@
 
     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