History

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

Paul Brossier committed 10 years ago

Commit 283bb901 parent b6b65cb1 file · +3 −1Browse files

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

Unified · Split

python/tests/test_specdesc.py+3−1
@@ -240,7 +240,9 @@ class aubio_specdesc_wrong(TestCase): · 239 unmodified lines
240240
241241 def test_unknown(self):
242242 # FIXME should fail?
243− o = specdesc("unknown", 512)
243+ with self.assertRaises(ValueError):
244+ o = specdesc("unknown", 512)
245+ self.skipTest('todo: new_specdesc should fail on wrong method')
244246
245247 if __name__ == '__main__':
246248 from unittest import 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