History

Merge branch 'feature/pitchshift' into feature/timestretch

Paul Brossier committed 7 years ago

Commit 1301f662 parents 22d7902 5f57ea91 file · +2 −2Browse files

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

Unified · Split

python/tests/test_pitchshift.py+2−2
@@ -1,7 +1,7 @@
11 #! /usr/bin/env python
22
33 from numpy.testing import TestCase
4−from _tools import parametrize
4+from _tools import parametrize, skipTest
55 import numpy as np
66 import aubio
77
@@ -82,7 +82,7 @@ class Test_aubio_pitchshift_testruns(object): · 74 unmodified lines
8282 try:
8383 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
8484 except RuntimeError as e:
85− self.skipTest("failed creating pitchshift ({})".format(e))
85+ skipTest("failed creating pitchshift ({})".format(e))
8686 test_length = self.o.hop_size * 50
8787 read = 0
8888 # 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