From 5f57ea953c01b88705d8e9d1a3b81d9ec68e6267 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 19 Dec 2018 19:47:34 +0100 Subject: [PATCH] [test] pitchshift test to use skipTest --- python/tests/test_pitchshift.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_pitchshift.py b/python/tests/test_pitchshift.py index 88e03494..4d3dd3f4 100755 --- 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: - 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 -- 2.11.0