History

python/tests/test_specdesc.py: RuntimeError is now raised on wrong mode

Paul Brossier committed 10 years ago

Commit 12e91a61 parent 27635821 file · +1 −3Browse files

Showing the changes to python/tests (1 of 1 file). Show all

Unified · Split

python/tests/test_specdesc.py+1−3
@@ -225,10 +225,8 @@ class aubio_specdesc_wrong(TestCase): · 224 unmodified lines
225225 specdesc("default", -10)
226226
227227 def test_unknown(self):
228− # FIXME should fail?
229− with self.assertRaises(ValueError):
228+ with self.assertRaises(RuntimeError):
230229 specdesc("unknown", 512)
231− self.skipTest('todo: new_specdesc should fail on wrong method')
232230
233231 if __name__ == '__main__':
234232 main()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t