Changeset 01e7be0


Ignore:
Timestamp:
Mar 22, 2013, 6:33:35 PM (12 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:
86ad546
Parents:
e6cde32
Message:

python/tests/test_source.py: really fail wrong hop size test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_source.py

    re6cde32 r01e7be0  
    5555    def test_wrong_hop_size(self):
    5656        for p in list_of_sounds:
    57             f = source(p, 0, -1)
    58             print f.hop_size
     57            try:
     58                f = source(p, 0, -1)
     59            except Exception, e:
     60                print e
     61            else:
     62                self.fail('does not fail with wrong hop_size %d' % f.hop_size)
    5963
    6064    def test_zero_hop_size(self):
Note: See TracChangeset for help on using the changeset viewer.