File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,12 @@ Testing
20
20
21
21
After installation, you can launch the test suite::
22
22
23
- python setup.py tests
23
+ python setup.py test
24
+
25
+ Or from the python interpreter::
26
+
27
+ import matplotlib
28
+ matplotlib.test()
24
29
25
30
Consider reading http://matplotlib.org/devel/coding_guide.html#testing for
26
31
more information.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ 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 ``python setup.py tests `` script
16
+ * Run all of the regression tests by running ``python setup.py test `` script
17
17
at the root of the source tree.
18
18
19
19
* Run :file: `unit/memleak_hawaii3.py ` and make sure there are no
Original file line number Diff line number Diff line change @@ -92,10 +92,6 @@ matplotlib library function :func:`matplotlib.test`::
92
92
.. _`nosetest arguments` : http://nose.readthedocs.org/en/latest/usage.html
93
93
94
94
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
-
99
95
Writing a simple test
100
96
---------------------
101
97
You can’t perform that action at this time.
0 commit comments