Skip to content

Commit 150de0d

Browse files
committed
RF: rename without doctests option
To be compatible with nosetests version.
1 parent 0348e2f commit 150de0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/nipnost

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To reproduce a standard ``nipy.test()`` run::
1010
1111
nipnost -A "not slow" /path/to/nipy/nipy
1212
13-
To run without doctests, add the flag ``--without-doctests``.
13+
To run without doctests, add the flag ``--without-doctest``.
1414
"""
1515

1616
import sys
@@ -23,7 +23,7 @@ if __name__ == '__main__':
2323
prepare_imports()
2424
argv = sys.argv[:] + [fpw_opt_str()]
2525
if '--without-doctests' in argv:
26-
argv.remove('--without-doctests')
26+
argv.remove('--without-doctest')
2727
else:
2828
argv.append('--with-nipydoctest')
2929
nose.core.TestProgram(argv=argv, addplugins=[NipyDoctest(), KnownFailure()])

0 commit comments

Comments
 (0)