@@ -367,7 +367,7 @@ customizations to the nose testing infrastructure are in
367367:mod: `matplotlib.testing `. (There is other old testing cruft around,
368368please ignore it while we consolidate our testing to these locations.)
369369
370- .. _nose : http ://somethingaboutorange.com/mrl/projects/nose /
370+ .. _nose : https ://nose.readthedocs.org/en/latest /
371371
372372Requirements
373373------------
@@ -386,33 +386,34 @@ Running the tests
386386
387387Running the tests is simple. Make sure you have nose installed and run
388388the script :file: `tests.py ` in the root directory of the distribution.
389+
389390The script can take any of the usual `nosetest arguments `_, such as
390391
391- =================== ===========
392- ``-v `` increase verbosity
393- ``-d `` detailed error messages
394- ``--with-coverage `` enable collecting coverage information
395- =================== ===========
392+ =================== ===========
393+ ``-v `` increase verbosity
394+ ``-d `` detailed error messages
395+ ``--with-coverage `` enable collecting coverage information
396+ =================== ===========
396397
397- To run a single test from the command line, you can provide a
398- dot-separated path to the module followed by the function separated by
399- a colon, eg. (this is assuming the test is installed)::
398+ To run a single test from the command line, you can provide a
399+ dot-separated path to the module followed by the function separated by
400+ a colon, eg. (this is assuming the test is installed)::
400401
401- python tests.py matplotlib.tests.test_simplification:test_clipping
402+ python tests.py matplotlib.tests.test_simplification:test_clipping
402403
403- An alternative implementation that does not look at command line
404- arguments works from within Python::
404+ An alternative implementation that does not look at command line
405+ arguments works from within Python::
405406
406- import matplotlib
407- matplotlib.test()
407+ import matplotlib
408+ matplotlib.test()
408409
409410
410- .. _`nosetest arguments` : http://somethingaboutorange.com/mrl/projects/nose/1.0.0/usage.html
411+ .. _`nosetest arguments` : http://somethingaboutorange.com/mrl/projects/nose/1.0.0/usage.html
411412
412413
413- Running tests by any means other than `matplotlib.test() `
414- does not load the nose "knownfailureif" (Known failing tests) plugin,
415- causing known-failing tests to fail for real.
414+ Running tests by any means other than `matplotlib.test() `
415+ does not load the nose "knownfailureif" (Known failing tests) plugin,
416+ causing known-failing tests to fail for real.
416417
417418Writing a simple test
418419---------------------
0 commit comments