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
11 try:11 try:
12 self.o = aubio.pitchshift(hop_size = 128)12 self.o = aubio.pitchshift(hop_size = 128)
13 except RuntimeError as e:13 except RuntimeError as e:
14 self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")14 self.skipTest("creating aubio.pitchshift {}".format(e))
15 15
16 def test_default_creation(self):16 def test_default_creation(self):
17 self.assertEqual(self.o.get_pitchscale(), 1)17 self.assertEqual(self.o.get_pitchscale(), 1)
@@ -79,7 +79,7 @@ class aubio_pitchshift_testruns(TestCase): · 61 unmodified lines
79 try:79 try:
80 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)80 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
81 except RuntimeError as e:81 except RuntimeError as e:
82 self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")82 self.skipTest("failed creating pitchshift ({})".format(e))
83 test_length = self.o.hop_size * 5083 test_length = self.o.hop_size * 50
84 read = 084 read = 0
85 # test on random85 # 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