Changeset 7fd92ca for python/tests
- Timestamp:
- Nov 2, 2018, 10:13:56 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 2e005cc
- Parents:
- 8607a74
- Location:
- python/tests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/_tools.py
r8607a74 r7fd92ca 22 22 skipTest = pytest.skip 23 23 _has_pytest = True 24 def run_module_suite(): 25 import sys, pytest 26 pytest.main(sys.argv) 24 27 except: 25 28 pass … … 32 35 def skipTest(msg): 33 36 raise SkipTest(msg) 37 from numpy.testing import run_module_suite 34 38 35 39 # always use numpy's assert_equal -
python/tests/test_mfcc.py
r8607a74 r7fd92ca 107 107 108 108 if __name__ == '__main__': 109 import sys, pytest110 pytest.main(sys.argv)109 from _tools import run_module_suite 110 run_module_suite() -
python/tests/test_midi2note.py
r8607a74 r7fd92ca 41 41 42 42 if __name__ == '__main__': 43 import sys, pytest44 pytest.main(sys.argv)43 from _tools import run_module_suite 44 run_module_suite() -
python/tests/test_note2midi.py
r8607a74 r7fd92ca 139 139 140 140 if __name__ == '__main__': 141 import sys, pytest142 pytest.main(sys.argv)141 from _tools import run_module_suite 142 run_module_suite() -
python/tests/test_sink.py
r8607a74 r7fd92ca 119 119 120 120 if __name__ == '__main__': 121 import pytest, sys122 pytest.main(sys.argv)121 from _tools import run_module_suite 122 run_module_suite() -
python/tests/test_source.py
r8607a74 r7fd92ca 188 188 189 189 if __name__ == '__main__': 190 import sys, pytest191 pytest.main(sys.argv)190 from _tools import run_module_suite 191 run_module_suite()
Note: See TracChangeset
for help on using the changeset viewer.