Revision: 7680
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7680&view=rev
Author: astraw
Date: 2009-09-07 20:01:25 +0000 (Mon, 07 Sep 2009)
Log Message:
-----------
testing: use all builtin nose plugins in old test runner script
Modified Paths:
--------------
trunk/matplotlib/test/run-mpl-test.py
Modified: trunk/matplotlib/test/run-mpl-test.py
===================================================================
--- trunk/matplotlib/test/run-mpl-test.py 2009-09-07 20:01:17 UTC (rev
7679)
+++ trunk/matplotlib/test/run-mpl-test.py 2009-09-07 20:01:25 UTC (rev
7680)
@@ -43,6 +43,7 @@
os.chdir( working )
import nose
+import nose.plugins.builtin
from mplTest import MplNosePlugin, path_utils
import matplotlib
from matplotlib.testing.noseclasses import KnownFailure
@@ -94,8 +95,12 @@
args.append('.')
args.extend( matplotlib.default_test_modules )
+plugins = [plugin() for plugin in nose.plugins.builtin.plugins]
+plugins.extend( [ MplNosePlugin(), KnownFailure() ])
+
success = nose.run( argv = args,
- plugins = [ MplNosePlugin(), KnownFailure() ] )
+ plugins = plugins,
+ )
### do other stuff here
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins