shithub: aubio

Download patch

ref: 1301f663a9cc1feb333a43542d823525148f00d7
parent: 22d79029dfa1c715b46f7b50a0a26f981e5bb8ec
parent: 5f57ea953c01b88705d8e9d1a3b81d9ec68e6267
author: Paul Brossier <piem@piem.org>
date: Wed Dec 19 14:47:50 EST 2018

Merge branch 'feature/pitchshift' into feature/timestretch

--- 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