projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24dfc3d
)
python/tests/test_pitchshift.py: skip test on RuntimeError
author
Paul Brossier
<piem@piem.org>
Sat, 17 Sep 2016 01:09:42 +0000
(
03:09
+0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 17 Sep 2016 01:09:42 +0000
(
03:09
+0200)
python/tests/test_pitchshift.py
patch
|
blob
|
history
diff --git
a/python/tests/test_pitchshift.py
b/python/tests/test_pitchshift.py
index
37d9926
..
27b675a
100755
(executable)
--- a/
python/tests/test_pitchshift.py
+++ b/
python/tests/test_pitchshift.py
@@
-6,7
+6,10
@@
import aubio
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)