- Timestamp:
- Apr 30, 2016, 4:32:51 PM (9 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- fe5ff6d
- Parents:
- 355c761
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_sink.py
r355c761 r5de7f98 50 50 f = source(path, samplerate, hop_size) 51 51 except RuntimeError as e: 52 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, e))52 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, str(e))) 53 53 if samplerate == 0: samplerate = f.samplerate 54 54 sink_path = get_tmp_sink_path() … … 67 67 f = source(path, samplerate, hop_size) 68 68 except RuntimeError as e: 69 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, e))69 self.skipTest('failed opening with hop_s = {:d}, samplerate = {:d} ({:s})'.format(hop_size, samplerate, str(e))) 70 70 if samplerate == 0: samplerate = f.samplerate 71 71 sink_path = get_tmp_sink_path()
Note: See TracChangeset
for help on using the changeset viewer.