Changeset 15a005d for python/tests
- Timestamp:
- May 15, 2016, 9:25:13 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:
- ca89d9f
- Parents:
- 85e0e76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_source.py
r85e0e76 r15a005d 8 8 9 9 list_of_sounds = list_all_sounds('sounds') 10 default_test_sound = list_of_sounds[0]10 default_test_sound = None 11 11 samplerates = [0, 44100, 8000, 32000] 12 12 hop_sizes = [512, 1024, 64] … … 25 25 def setUp(self): 26 26 if not len(list_of_sounds): self.skipTest('add some sound files in \'python/tests/sounds\'') 27 default_test_sound = list_of_sounds[0] 27 28 28 29 class aubio_source_test_case(aubio_source_test_case_base): … … 114 115 f = source('path_to/unexisting file.mp3') 115 116 117 class aubio_source_test_wrong_params(aubio_source_test_case_base): 118 116 119 def test_wrong_samplerate(self): 117 120 with self.assertRaises(ValueError):
Note: See TracChangeset
for help on using the changeset viewer.