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

Skip to content

Commit 87497bf

Browse files
committed
coding_guide: add instructions for running a single test (from Mike D.)
svn path=/trunk/matplotlib/; revision=8270
1 parent 0af3c48 commit 87497bf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

doc/devel/coding_guide.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,13 @@ type from within Python::
637637
import matplotlib
638638
matplotlib.test()
639639

640+
To run a single test from the command line, you can provide
641+
a dot-separated path to the module and function, eg.
642+
(this is assuming the test is installed)::
643+
644+
nosetests matplotlib.tests.test_simplification:test_clipping
645+
646+
640647
Writing a simple test
641648
---------------------
642649

0 commit comments

Comments
 (0)