ref: 60cbfe8a0e4cc415686c1d37c1c6ae36da414712
parent: 24dfc3dc290dfd9cf530a53ec98871e09e764670
author: Paul Brossier <piem@piem.org>
date: Fri Sep 16 23:09:42 EDT 2016
python/tests/test_pitchshift.py: skip test on RuntimeError
--- a/python/tests/test_pitchshift.py
+++ b/python/tests/test_pitchshift.py
@@ -6,7 +6,10 @@
class aubio_pitchshift(TestCase):
def setUp(self):
- self.o = aubio.pitchshift()
+ try:
+ self.o = aubio.pitchshift()
+ except RuntimeError as e:
+ self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")def test_default_creation(self):
self.assertEqual(self.o.get_pitchscale(), 1)
--
⑨