Changeset ed596f7 for python/tests/test_slicing.py
- Timestamp:
- Oct 30, 2018, 1:22:44 PM (6 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
- Children:
- 152bf4f
- Parents:
- f9400d0 (diff), 4bc10e2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_slicing.py
rf9400d0 red596f7 35 35 def test_slice_start_every_blocksize(self): 36 36 hopsize = 200 37 regions_start = [i*hopsize for i in range( 1, n_slices)]37 regions_start = [i*hopsize for i in range(0, n_slices)] 38 38 slice_source_at_stamps(self.source_file, regions_start, output_dir = self.output_dir, 39 39 hopsize = 200) … … 41 41 def test_slice_start_every_half_blocksize(self): 42 42 hopsize = 200 43 regions_start = [i*hopsize//2 for i in range( 1, n_slices)]43 regions_start = [i*hopsize//2 for i in range(0, n_slices)] 44 44 slice_source_at_stamps(self.source_file, regions_start, 45 45 output_dir = self.output_dir, hopsize = 200)
Note: See TracChangeset
for help on using the changeset viewer.