Skip to content

Commit 11a5129

Browse files
committed
BUG: refguide-check: respect the verbosity
$ python runtests.py -s numpy.lib.recfunctions --refguide-check -v Previously, the `-v` switch was silently ignored.
1 parent fd45ab9 commit 11a5129

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ def main(argv):
287287
if args.refguide_check:
288288
cmd = [os.path.join(ROOT_DIR, 'tools', 'refguide_check.py'),
289289
'--doctests']
290+
if args.verbose:
291+
cmd += ['-' + 'v'*args.verbose]
290292
if args.submodule:
291293
cmd += [args.submodule]
292294
os.execv(sys.executable, [sys.executable] + cmd)

0 commit comments

Comments
 (0)