Changeset 598774b for python/tests
- Timestamp:
- Nov 28, 2016, 4:25:14 PM (8 years ago)
- Branches:
- sampler
- Children:
- 8fcbd37
- Parents:
- 26fecba
- git-author:
- Paul Brossier <piem@piem.org> (10/03/16 12:24:35)
- git-committer:
- Paul Brossier <piem@piem.org> (11/28/16 16:25:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_source.py
r26fecba r598774b 57 57 if read < f.hop_size: 58 58 assert_equal(samples[read:], 0) 59 if ' silence' notin f.uri:59 if 'brownnoise' in f.uri: 60 60 self.assertEquals(np.count_nonzero(samples[:read]), read) 61 61 break … … 159 159 if read < f.hop_size: 160 160 assert_equal(samples[:,read:], 0) 161 if ' silence' notin f.uri:161 if 'brownnoise' in f.uri: 162 162 self.assertEquals(np.count_nonzero(samples[:,:read]), read) 163 163 break
Note: See TracChangeset
for help on using the changeset viewer.