Showing the changes to python/tests (1 of 1 file). Show all
Unified · Split
| @@ -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 | ||
| 233 | if __name__ == '__main__': | 231 | if __name__ == '__main__': |
| 234 | main() | 232 | main() |