ref: 7d01fdfb98b9f01e78c442ee8034686fe7d9038e
parent: ad653468d96f7c2f05dafd9e1cb67b507cba088f
author: Paul Brossier <piem@piem.org>
date: Fri Sep 23 03:50:16 EDT 2016
python/tests/test_pitchshift.py: get message from aubio.pitchshift
--- a/python/tests/test_pitchshift.py
+++ b/python/tests/test_pitchshift.py
@@ -11,7 +11,7 @@
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 @@
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
--
⑨