From 9913763529dc11dc7e5dc536f128a33788037fa2 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Mon, 13 Nov 2023 21:02:20 +0100 Subject: [PATCH] update travis_tests --- travis_tests.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/travis_tests.py b/travis_tests.py index 16713962..c1700744 100644 --- a/travis_tests.py +++ b/travis_tests.py @@ -1,4 +1,4 @@ -#=============================================================================== +# =============================================================================== # Copyright (c) 2015, Max Zwiessele # # All rights reserved. @@ -27,14 +27,13 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#=============================================================================== +# =============================================================================== #!/usr/bin/env python import matplotlib -matplotlib.use('agg') -import nose, warnings -with warnings.catch_warnings(): - warnings.simplefilter("ignore") - nose.main('GPy', defaultTest='GPy/testing', argv=['', '--show-skipped']) +matplotlib.use("agg") +import pytest + +pytest.main(["GPy/testing/"])