Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | #! /usr/bin/env python |
| 2 | 2 | |
| 3 | 3 | from numpy.testing import TestCase |
| 4 | −from _tools import parametrize | |
| 4 | +from _tools import parametrize, skipTest | |
| 5 | 5 | import numpy as np |
| 6 | 6 | import aubio |
| 7 | 7 | |
| @@ -82,7 +82,7 @@ class Test_aubio_pitchshift_testruns(object): · 74 unmodified lines | ||
| 82 | 82 | try: |
| 83 | 83 | self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate) |
| 84 | 84 | except RuntimeError as e: |
| 85 | − self.skipTest("failed creating pitchshift ({})".format(e)) | |
| 85 | + skipTest("failed creating pitchshift ({})".format(e)) | |
| 86 | 86 | test_length = self.o.hop_size * 50 |
| 87 | 87 | read = 0 |
| 88 | 88 | # test on random |