File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ jdh_doc_snapshot:
45
45
46
46
47
47
test :
48
- ${PYTHON} tests .py
48
+ ${PYTHON} setup .py test
49
49
50
50
51
51
test-coverage :
52
- ${PYTHON} tests .py --with-coverage --cover-package=matplotlib
52
+ ${PYTHON} setup .py test --with-coverage --cover-package=matplotlib
53
53
54
54
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ A guide for developers who are doing a matplotlib release.
13
13
Testing
14
14
=======
15
15
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.
18
18
19
19
* Run :file: `unit/memleak_hawaii3.py ` and make sure there are no
20
20
memory leaks
Original file line number Diff line number Diff line change @@ -27,11 +27,15 @@ Running the tests
27
27
-----------------
28
28
29
29
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.
31
35
The script can take any of the usual `nosetest arguments `_, such as
32
36
33
37
=================== ===========
34
- ``-v `` increase verbosity
38
+ ``--nose-verbose `` increase verbosity
35
39
``-d `` detailed error messages
36
40
``--with-coverage `` enable collecting coverage information
37
41
=================== ===========
@@ -47,7 +51,6 @@ tests in parallel::
47
51
48
52
python ../matplotlib/tests.py -sv --processes=5 --process-timeout=300
49
53
50
- as we do on Travis.ci.
51
54
52
55
53
56
An alternative implementation that does not look at command line
You can’t perform that action at this time.
0 commit comments