projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2763582
)
python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode
author
Paul Brossier
<piem@piem.org>
Thu, 22 Sep 2016 22:07:36 +0000
(
00:07
+0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 22 Sep 2016 22:07:36 +0000
(
00:07
+0200)
python/tests/test_specdesc.py
patch
|
blob
|
history
diff --git
a/python/tests/test_specdesc.py
b/python/tests/test_specdesc.py
index
063d13d
..
d7769dc
100755
(executable)
--- 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()