projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6b65cb
)
python/tests/test_specdesc.py: skip wrong name test
author
Paul Brossier
<piem@piem.org>
Sat, 14 May 2016 03:34:15 +0000
(
05:34
+0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 14 May 2016 03:34:15 +0000
(
05:34
+0200)
python/tests/test_specdesc.py
patch
|
blob
|
history
diff --git
a/python/tests/test_specdesc.py
b/python/tests/test_specdesc.py
index
c365f83
..
8663200
100755
(executable)
--- 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?
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
if __name__ == '__main__':
from unittest import main