Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0352e6

Browse files
committed
update references to test.py to setup.py test
1 parent 462f45f commit d0352e6

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jdh_doc_snapshot:
4545

4646

4747
test:
48-
${PYTHON} tests.py
48+
${PYTHON} setup.py test
4949

5050

5151
test-coverage:
52-
${PYTHON} tests.py --with-coverage --cover-package=matplotlib
52+
${PYTHON} setup.py test --with-coverage --cover-package=matplotlib
5353

5454

doc/devel/release_guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ A guide for developers who are doing a matplotlib release.
1313
Testing
1414
=======
1515

16-
* Run all of the regression tests by running the `tests.py` script at
17-
the root of the source tree.
16+
* Run all of the regression tests by running ``python setup.py tests`` script
17+
at the root of the source tree.
1818

1919
* Run :file:`unit/memleak_hawaii3.py` and make sure there are no
2020
memory leaks

doc/devel/testing.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ Running the tests
2727
-----------------
2828

2929
Running the tests is simple. Make sure you have nose installed and run
30-
the script :file:`tests.py` in the root directory of the distribution.
30+
the setup script's ``test`` command::
31+
32+
python setup.py test
33+
34+
in the root directory of the distribution.
3135
The script can take any of the usual `nosetest arguments`_, such as
3236

3337
=================== ===========
34-
``-v`` increase verbosity
38+
``--nose-verbose`` increase verbosity
3539
``-d`` detailed error messages
3640
``--with-coverage`` enable collecting coverage information
3741
=================== ===========
@@ -47,7 +51,6 @@ tests in parallel::
4751

4852
python ../matplotlib/tests.py -sv --processes=5 --process-timeout=300
4953

50-
as we do on Travis.ci.
5154

5255

5356
An alternative implementation that does not look at command line

0 commit comments

Comments
 (0)