Changeset c395732 for python/tests


Ignore:
Timestamp:
Jul 12, 2016, 8:26:30 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
9530365
Parents:
bf54364
Message:

python/tests/test_mfcc.py: test for wrong input size (see #63)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_mfcc.py

    rbf54364 rc395732  
    5757            mfcc(samplerate = -1)
    5858
     59    def test_wrong_input_size(self):
     60        m = mfcc(buf_size = 1024)
     61        with self.assertRaises(ValueError):
     62            m(cvec(512))
     63
    5964class aubio_mfcc_compute(TestCase):
    6065
Note: See TracChangeset for help on using the changeset viewer.