8000 Clarify docs of testing · matplotlib/matplotlib@ff34bb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff34bb9

Browse files
committed
Clarify docs of testing
1 parent 9767d49 commit ff34bb9

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ Testing
2020

2121
After installation, you can launch the test suite::
2222

23-
python setup.py tests
23+
python setup.py test
24+
25+
Or from the python interpreter::
26+
27+
import matplotlib
28+
matplotlib.test()
2429

2530
Consider reading http://matplotlib.org/devel/coding_guide.html#testing for
2631
more information.

doc/devel/release_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A guide for developers who are doing a matplotlib release.
1313
Testing
1414
=======
1515

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

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

doc/devel/testing.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ matplotlib library function :func:`matplotlib.test`::
9292
.. _`nosetest arguments`: http://nose.readthedocs.org/en/latest/usage.html
9393

9494

95-
Running tests by any means other than `matplotlib.test()` does not
96-
load the nose "knownfailureif" (Known failing tests) plugin, causing
97-
known-failing tests to fail for real.
98-
9995
Writing a simple test
10096
---------------------
10197

0 commit comments

Comments
 (0)
0