Changeset 4292013


Ignore:
Timestamp:
Sep 21, 2016, 4:00:03 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
d5f538f
Parents:
a9eb93e
Message:

python/tests/test_pitchshift.py: make sure a wrong transpose raises RuntimeError?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_pitchshift.py

    ra9eb93e r4292013  
    6161            self.o.set_transpose(-24.3)
    6262
     63class aubio_pitchshift_wrong_params(TestCase):
     64
     65    def test_wrong_transpose(self):
     66        with self.assertRaises(RuntimeError):
     67            aubio.pitchshift("default", -123)
    6368
    6469class aubio_pitchshift_testruns(TestCase):
Note: See TracChangeset for help on using the changeset viewer.