Changeset 01d56c1


Ignore:
Timestamp:
Nov 2, 2018, 12:21:14 AM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

[tests] update _tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/_tools.py

    rbee9445 r01d56c1  
    2222    skipTest = such.helper.skipTest
    2323    _has_nose2 = True
    24     print ('using nose2')
    2524
    2625# otherwise, check if we have pytest
     
    2928        import pytest
    3029        parametrize = pytest.mark.parametrize
    31         _has_pytest = True
    3230        assert_raises = pytest.raises
    3331        assert_warns = pytest.warns
    3432        skipTest = pytest.skip
    35         print ('using pytest')
     33        _has_pytest = True
    3634    except:
    3735        pass
     
    4442    def skipTest(msg):
    4543        raise SkipTest(msg)
    46     print ('using numpy')
    4744
    4845# always use numpy's assert_equal
Note: See TracChangeset for help on using the changeset viewer.