shithub: aubio

Download patch

ref: 01d56c19a04180430d8edf2b738e34bb11c8ae93
parent: bee9445a8727214019c64febcb1ad443d389da9c
author: Paul Brossier <piem@piem.org>
date: Thu Nov 1 20:21:14 EDT 2018

[tests] update _tools

--- a/python/tests/_tools.py
+++ b/python/tests/_tools.py
@@ -21,7 +21,6 @@
     assert_warns = such.helper.assertWarns
     skipTest = such.helper.skipTest
     _has_nose2 = True
-    print ('using nose2')
 
 # otherwise, check if we have pytest
 if not _has_nose2:
@@ -28,11 +27,10 @@
     try:
         import pytest
         parametrize = pytest.mark.parametrize
-        _has_pytest = True
         assert_raises = pytest.raises
         assert_warns = pytest.warns
         skipTest = pytest.skip
-        print ('using pytest')
+        _has_pytest = True
     except:
         pass
 
@@ -43,7 +41,6 @@
     parametrize = dec.parametrize
     def skipTest(msg):
         raise SkipTest(msg)
-    print ('using numpy')
 
 # always use numpy's assert_equal
 import numpy