Skip to content

Commit 030ebff

Browse files
committed
MAINT, TST: remove test-installed-numpy.py
* replace usage of test-installed-numpy.py with runtests.py; they serve similar purposes and the latter is more commonly used / maintained
1 parent 4f7d5eb commit 030ebff

File tree

4 files changed

+6
-71
lines changed

4 files changed

+6
-71
lines changed

.coveragerc

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[run]
22
branch = True
33
include = */numpy/*
4+
disable_warnings = include-ignored

tools/test-installed-numpy.py

-66
This file was deleted.

tools/travis-test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ run_test()
8383
export PYTHONWARNINGS=default
8484
if [ -n "$RUN_FULL_TESTS" ]; then
8585
export PYTHONWARNINGS="ignore::DeprecationWarning:virtualenv"
86-
$PYTHON ../tools/test-installed-numpy.py -v --durations 10 --mode=full $COVERAGE_FLAG
86+
$PYTHON ../runtests.py -n -v --durations 10 --mode=full $COVERAGE_FLAG
8787
else
88-
$PYTHON ../tools/test-installed-numpy.py -v --durations 10
88+
$PYTHON ../runtests.py -n -v --durations 10
8989
fi
9090

9191
if [ -n "$RUN_COVERAGE" ]; then

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# To run against a specific subset of Python versions, use:
1616
# tox -e py37
1717

18-
# Extra arguments will be passed to test-installed-numpy.py. To run
18+
# Extra arguments will be passed to runtests.py. To run
1919
# the full testsuite:
2020
# tox full
2121
# To run with extra verbosity:
@@ -33,7 +33,7 @@ envlist =
3333
deps=
3434
pytest
3535
changedir={envdir}
36-
commands={envpython} {toxinidir}/tools/test-installed-numpy.py --mode=full {posargs:}
36+
commands={envpython} {toxinidir}/runtests.py --mode=full {posargs:}
3737

3838
[testenv:py37-not-relaxed-strides]
3939
basepython=python3.7
@@ -43,4 +43,4 @@ env=NPY_RELAXED_STRIDES_CHECKING=0
4343
# if you want it:
4444
[testenv:debug]
4545
basepython=python-dbg
46-
commands=gdb --args {envpython} {toxinidir}/tools/test-installed-numpy.py --mode=full {posargs:}
46+
commands=gdb --args {envpython} {toxinidir}/runtests.py --mode=full {posargs:}

0 commit comments

Comments
 (0)