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

Skip to content

Commit bf84307

Browse files
committed
testing: use all builtin nose plugins in old test runner script
svn path=/trunk/matplotlib/; revision=7680
1 parent cd7870d commit bf84307

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/run-mpl-test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
os.chdir( working )
4444

4545
import nose
46+
import nose.plugins.builtin
4647
from mplTest import MplNosePlugin, path_utils
4748
import matplotlib
4849
from matplotlib.testing.noseclasses import KnownFailure
@@ -94,8 +95,12 @@
9495
args.append('.')
9596
args.extend( matplotlib.default_test_modules )
9697

98+
plugins = [plugin() for plugin in nose.plugins.builtin.plugins]
99+
plugins.extend( [ MplNosePlugin(), KnownFailure() ])
100+
97101
success = nose.run( argv = args,
98-
plugins = [ MplNosePlugin(), KnownFailure() ] )
102+
plugins = plugins,
103+
)
99104

100105
### do other stuff here
101106

0 commit comments

Comments
 (0)