Changeset c2f7db8


Ignore:
Timestamp:
Sep 21, 2016, 1:49:16 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
aef9691
Parents:
04fc360
Message:

python/tests/test_pitchshift.py: catch runtime error here too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_pitchshift.py

    r04fc360 rc2f7db8  
    7272            )
    7373    def test_run_with_params(self, mode, pitchscale, hop_size, samplerate):
    74         self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
     74        try:
     75            self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
     76        except RuntimeError as e:
     77            self.skipTest("creating aubio.pitchshift failed (recompile with rubberband?)")
    7578        test_length = self.o.hop_size * 50
    7679        read = 0
Note: See TracChangeset for help on using the changeset viewer.