ref: 5f57ea953c01b88705d8e9d1a3b81d9ec68e6267
parent: 0770148df1d357adfa13b198f8687e2072b315e4
author: Paul Brossier <piem@piem.org>
date: Wed Dec 19 14:47:34 EST 2018
[test] pitchshift test to use skipTest
--- 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 @@
try:
self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
except RuntimeError as e:
- self.skipTest("failed creating pitchshift ({})".format(e))
+ skipTest("failed creating pitchshift ({})".format(e))
test_length = self.o.hop_size * 50
read = 0
# test on random