- Timestamp:
- Oct 3, 2016, 12:24:35 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
- Children:
- 5210563
- Parents:
- f9a543e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_source.py
rf9a543e r7daa881 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.