History

python/tests/test_pitchshift.py: get message from aubio.pitchshift

Paul Brossier committed 10 years ago

Commit 7d01fdf1 parent ad653461 file · +2 −2Browse files

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

Unified · Split

python/tests/test_pitchshift.py+2−2
@@ -11,7 +11,7 @@ class aubio_pitchshift(TestCase): · 10 unmodified lines
1111 try:
1212 self.o = aubio.pitchshift(hop_size = 128)
1313 except RuntimeError as e:
14− self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")
14+ self.skipTest("creating aubio.pitchshift {}".format(e))
1515
1616 def test_default_creation(self):
1717 self.assertEqual(self.o.get_pitchscale(), 1)
@@ -79,7 +79,7 @@ class aubio_pitchshift_testruns(TestCase): · 61 unmodified lines
7979 try:
8080 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
8181 except RuntimeError as e:
82− self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")
82+ self.skipTest("failed creating pitchshift ({})".format(e))
8383 test_length = self.o.hop_size * 50
8484 read = 0
8585 # test on random

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