Skip to content

Commit

Permalink
MAINT, TST: remove test-installed-numpy.py
Browse files Browse the repository at this point in the history
* replace usage of test-installed-numpy.py
with runtests.py; they serve similar purposes
and the latter is more commonly used / maintained
  • Loading branch information
tylerjereddy committed Jul 13, 2019
1 parent 4f7d5eb commit 030ebff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 71 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[run]
branch = True
include = */numpy/*
disable_warnings = include-ignored
66 changes: 0 additions & 66 deletions tools/test-installed-numpy.py

This file was deleted.

4 changes: 2 additions & 2 deletions tools/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ run_test()
export PYTHONWARNINGS=default
if [ -n "$RUN_FULL_TESTS" ]; then
export PYTHONWARNINGS="ignore::DeprecationWarning:virtualenv"
$PYTHON ../tools/test-installed-numpy.py -v --durations 10 --mode=full $COVERAGE_FLAG
$PYTHON ../runtests.py -n -v --durations 10 --mode=full $COVERAGE_FLAG
else
$PYTHON ../tools/test-installed-numpy.py -v --durations 10
$PYTHON ../runtests.py -n -v --durations 10
fi

if [ -n "$RUN_COVERAGE" ]; then
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# To run against a specific subset of Python versions, use:
# tox -e py37

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

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

0 comments on commit 030ebff

Please sign in to comment.