Showing the changes to python/tests (1 of 1 file). Show all
Unified · Split
| @@ -11,7 +11,7 @@ class aubio_pitchshift(TestCase): · 10 unmodified lines | |||
| 11 | try: | 11 | try: |
| 12 | self.o = aubio.pitchshift(hop_size = 128) | 12 | self.o = aubio.pitchshift(hop_size = 128) |
| 13 | except RuntimeError as e: | 13 | except RuntimeError as e: |
| 14 | self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)") | 14 | self.skipTest("creating aubio.pitchshift {}".format(e)) |
| 15 | 15 | ||
| 16 | def test_default_creation(self): | 16 | def test_default_creation(self): |
| 17 | self.assertEqual(self.o.get_pitchscale(), 1) | 17 | self.assertEqual(self.o.get_pitchscale(), 1) |
| @@ -79,7 +79,7 @@ class aubio_pitchshift_testruns(TestCase): · 61 unmodified lines | |||
| 79 | try: | 79 | try: |
| 80 | self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate) | 80 | self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate) |
| 81 | except RuntimeError as e: | 81 | except RuntimeError as e: |
| 82 | self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)") | 82 | self.skipTest("failed creating pitchshift ({})".format(e)) |
| 83 | test_length = self.o.hop_size * 50 | 83 | test_length = self.o.hop_size * 50 |
| 84 | read = 0 | 84 | read = 0 |
| 85 | # test on random | 85 | # test on random |