History

python/tests/test_pitchshift.py: skip test on RuntimeError

Paul Brossier committed 10 years ago

Commit 60cbfe81 parent 24dfc3d1 file · +4 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/test_pitchshift.py+4−1
@@ -6,7 +6,10 @@ import aubio · 5 unmodified lines
66 class aubio_pitchshift(TestCase):
77
88 def setUp(self):
9− self.o = aubio.pitchshift()
9+ try:
10+ self.o = aubio.pitchshift()
11+ except RuntimeError as e:
12+ self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")
1013
1114 def test_default_creation(self):
1215 self.assertEqual(self.o.get_pitchscale(), 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t