- Timestamp:
- Nov 2, 2018, 12:21:14 AM (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:
- 0d52f92
- Parents:
- bee9445
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/_tools.py
rbee9445 r01d56c1 22 22 skipTest = such.helper.skipTest 23 23 _has_nose2 = True 24 print ('using nose2')25 24 26 25 # otherwise, check if we have pytest … … 29 28 import pytest 30 29 parametrize = pytest.mark.parametrize 31 _has_pytest = True32 30 assert_raises = pytest.raises 33 31 assert_warns = pytest.warns 34 32 skipTest = pytest.skip 35 print ('using pytest')33 _has_pytest = True 36 34 except: 37 35 pass … … 44 42 def skipTest(msg): 45 43 raise SkipTest(msg) 46 print ('using numpy')47 44 48 45 # always use numpy's assert_equal
Note: See TracChangeset
for help on using the changeset viewer.