From 01d56c19a04180430d8edf2b738e34bb11c8ae93 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 2 Nov 2018 00:21:14 +0100 Subject: [PATCH] [tests] update _tools --- python/tests/_tools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/tests/_tools.py b/python/tests/_tools.py index 271575d3..f858c706 100644 --- a/python/tests/_tools.py +++ b/python/tests/_tools.py @@ -21,18 +21,16 @@ if 'nose2' in sys.modules: 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: 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 @@ if not _has_pytest and not _has_nose2: parametrize = dec.parametrize def skipTest(msg): raise SkipTest(msg) - print ('using numpy') # always use numpy's assert_equal import numpy -- 2.11.0