Changeset 98e4106 for python/tests/test_musicutils.py
- Timestamp:
- May 13, 2016, 5:54:49 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 1164fd85
- Parents:
- ff89a06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_musicutils.py
rff89a06 r98e4106 16 16 17 17 def test_fail_name_not_string(self): 18 try:18 with self.assertRaises(TypeError): 19 19 window(10, 1024) 20 except ValueError as e:21 pass22 else:23 self.fail('non-string window type does not raise a ValueError')24 20 25 21 def test_fail_size_not_int(self): 26 try:22 with self.assertRaises(TypeError): 27 23 window("default", "default") 28 except ValueError as e:29 pass30 else:31 self.fail('non-integer window length does not raise a ValueError')32 24 33 25 def test_compute_hanning_1024(self):
Note: See TracChangeset
for help on using the changeset viewer.