projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0770148
)
[test] pitchshift test to use skipTest
author
Paul Brossier
<piem@piem.org>
Wed, 19 Dec 2018 18:47:34 +0000
(19:47 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 19 Dec 2018 18:47:34 +0000
(19:47 +0100)
python/tests/test_pitchshift.py
patch
|
blob
|
history
diff --git
a/python/tests/test_pitchshift.py
b/python/tests/test_pitchshift.py
index
88e0349
..
4d3dd3f
100755
(executable)
--- a/
python/tests/test_pitchshift.py
+++ b/
python/tests/test_pitchshift.py
@@
-1,7
+1,7
@@
#! /usr/bin/env python
from numpy.testing import TestCase
-from _tools import parametrize
+from _tools import parametrize
, skipTest
import numpy as np
import aubio
@@
-82,7
+82,7
@@
class Test_aubio_pitchshift_testruns(object):
try:
self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
except RuntimeError as e:
- s
elf.s
kipTest("failed creating pitchshift ({})".format(e))
+ skipTest("failed creating pitchshift ({})".format(e))
test_length = self.o.hop_size * 50
read = 0
# test on random