From 7f68c8a6a38049284fcdfd80c8c983996f0383f8 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 3 Apr 2018 12:32:53 -0600 Subject: TST: Update travis and appveyor to use pytest. For the time being, these tests will ignore the flood of deprecated yield test warnings. Fixing those is for another PR. --- tools/test-installed-numpy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/test-installed-numpy.py') diff --git a/tools/test-installed-numpy.py b/tools/test-installed-numpy.py index 26a50b2fa..04a2a1da2 100644 --- a/tools/test-installed-numpy.py +++ b/tools/test-installed-numpy.py @@ -27,11 +27,11 @@ parser.add_option("--doctests", help="Run doctests in module") parser.add_option("--coverage", action="store_true", dest="coverage", default=False, - help="report coverage of NumPy code (requires 'coverage' module") + help="report coverage of NumPy code (requires 'pytest-cov' module") parser.add_option("-m", "--mode", action="store", dest="mode", default="fast", help="'fast', 'full', or something that could be " - "passed to nosetests -A [default: %default]") + "passed to pytest [default: %default]") (options, args) = parser.parse_args() import numpy @@ -52,7 +52,7 @@ result = numpy.test(options.mode, doctests=options.doctests, coverage=options.coverage) -if result.wasSuccessful(): +if result: sys.exit(0) else: sys.exit(1) -- cgit v1.2.1