forked from matplotlib/matplotlib
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.py
More file actions
Latest commit
executable file
·20 lines (16 loc) · 502 Bytes
/
Copy pathtests.py
File metadata and controls
executable file
·20 lines (16 loc) · 502 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
#
# This allows running the matplotlib tests from the command line: e.g.
# python tests.py -v -d
# See http://somethingaboutorange.com/mrl/projects/nose/1.0.0/usage.html
# for options.
importmatplotlib
matplotlib.use('agg')
importnose
frommatplotlib.testing.noseclassesimportKnownFailure
frommatplotlibimportdefault_test_modules
defrun():
nose.main(addplugins=[KnownFailure()],
defaultTest=default_test_modules)
if__name__=='__main__':
run()