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 (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
225 specdesc("default", -10)225 specdesc("default", -10)
226 226
227 def test_unknown(self):227 def test_unknown(self):
228 # FIXME should fail?228 with self.assertRaises(RuntimeError):
229 with self.assertRaises(ValueError):
230 specdesc("unknown", 512)229 specdesc("unknown", 512)
231 self.skipTest('todo: new_specdesc should fail on wrong method')
232 230
233if __name__ == '__main__':231if __name__ == '__main__':
234 main()232 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