From: Paul Brossier Date: Fri, 23 Sep 2016 05:50:16 +0000 (+0200) Subject: python/tests/test_pitchshift.py: get message from aubio.pitchshift X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=7d01fdfb98b9f01e78c442ee8034686fe7d9038e;p=aubio.git python/tests/test_pitchshift.py: get message from aubio.pitchshift --- diff --git a/python/tests/test_pitchshift.py b/python/tests/test_pitchshift.py index 8b5af4ec..38e19de6 100755 --- a/python/tests/test_pitchshift.py +++ b/python/tests/test_pitchshift.py @@ -11,7 +11,7 @@ class aubio_pitchshift(TestCase): try: self.o = aubio.pitchshift(hop_size = 128) except RuntimeError as e: - self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)") + self.skipTest("creating aubio.pitchshift {}".format(e)) def test_default_creation(self): self.assertEqual(self.o.get_pitchscale(), 1) @@ -79,7 +79,7 @@ class aubio_pitchshift_testruns(TestCase): try: self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate) except RuntimeError as e: - self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)") + self.skipTest("failed creating pitchshift ({})".format(e)) test_length = self.o.hop_size * 50 read = 0 # test on random