Showing the changes to python/tests (1 of 1 file). Show all
Unified · Split
| @@ -6,7 +6,10 @@ import aubio · 5 unmodified lines | ||
| 6 | 6 | class aubio_pitchshift(TestCase): |
| 7 | 7 | |
| 8 | 8 | def setUp(self): |
| 9 | − self.o = aubio.pitchshift() | |
| 9 | + try: | |
| 10 | + self.o = aubio.pitchshift() | |
| 11 | + except RuntimeError as e: | |
| 12 | + self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)") | |
| 10 | 13 | |
| 11 | 14 | def test_default_creation(self): |
| 12 | 15 | self.assertEqual(self.o.get_pitchscale(), 1) |