Showing the changes to python/tests/test_mathutils.py (1 of 1 file). Show all
Unified · Split
| @@ -28,7 +28,7 @@ class aubio_mathutils(TestCase): · 27 unmodified lines | ||
| 28 | 28 | #print zip(a, b) |
| 29 | 29 | |
| 30 | 30 | def test_unwrap2pi_fails_on_list(self): |
| 31 | − with self.assertRaises(TypeError): | |
| 31 | + with self.assertRaises((TypeError, NotImplementedError)): | |
| 32 | 32 | unwrap2pi(["23.","24.",25.]) |
| 33 | 33 | |
| 34 | 34 | def test_unwrap2pi_takes_fvec(self): |