Revision: 8270 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8270&view=rev Author: efiring Date: 2010-04-26 18:49:47 +0000 (Mon, 26 Apr 2010)
Log Message: ----------- coding_guide: add instructions for running a single test (from Mike D.) Modified Paths: -------------- trunk/matplotlib/doc/devel/coding_guide.rst Modified: trunk/matplotlib/doc/devel/coding_guide.rst =================================================================== --- trunk/matplotlib/doc/devel/coding_guide.rst 2010-04-23 18:34:32 UTC (rev 8269) +++ trunk/matplotlib/doc/devel/coding_guide.rst 2010-04-26 18:49:47 UTC (rev 8270) @@ -637,6 +637,13 @@ import matplotlib matplotlib.test() +To run a single test from the command line, you can provide +a dot-separated path to the module and function, eg. +(this is assuming the test is installed):: + + nosetests matplotlib.tests.test_simplification:test_clipping + + Writing a simple test --------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins