We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f35ad commit 0348e2fCopy full SHA for 0348e2f
tools/nipnost
@@ -10,6 +10,7 @@ To reproduce a standard ``nipy.test()`` run::
10
11
nipnost -A "not slow" /path/to/nipy/nipy
12
13
+To run without doctests, add the flag ``--without-doctests``.
14
"""
15
16
import sys
@@ -20,5 +21,9 @@ from nipy.fixes.numpy.testing.noseclasses import KnownFailure
20
21
22
if __name__ == '__main__':
23
prepare_imports()
- argv = sys.argv + ['--with-nipydoctest', fpw_opt_str()]
24
+ argv = sys.argv[:] + [fpw_opt_str()]
25
+ if '--without-doctests' in argv:
26
+ argv.remove('--without-doctests')
27
+ else:
28
+ argv.append('--with-nipydoctest')
29
nose.core.TestProgram(argv=argv, addplugins=[NipyDoctest(), KnownFailure()])
0 commit comments