Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -240,7 +240,9 @@ class aubio_specdesc_wrong(TestCase): · 239 unmodified lines | |||
| 240 | 240 | ||
| 241 | def test_unknown(self): | 241 | def test_unknown(self): |
| 242 | # FIXME should fail? | 242 | # 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') | ||
| 244 | 246 | ||
| 245 | if __name__ == '__main__': | 247 | if __name__ == '__main__': |
| 246 | from unittest import main | 248 | from unittest import main |