Skip to content

Commit

Permalink
BUG: refguide-check: respect the verbosity
Browse files Browse the repository at this point in the history
$ python runtests.py -s numpy.lib.recfunctions --refguide-check -v

Previously, the `-v` switch was silently ignored.
  • Loading branch information
ev-br committed May 22, 2022
1 parent fd45ab9 commit 11a5129
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ def main(argv):
if args.refguide_check:
cmd = [os.path.join(ROOT_DIR, 'tools', 'refguide_check.py'),
'--doctests']
if args.verbose:
cmd += ['-' + 'v'*args.verbose]
if args.submodule:
cmd += [args.submodule]
os.execv(sys.executable, [sys.executable] + cmd)
Expand Down

0 comments on commit 11a5129

Please sign in to comment.