summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeni Burovski <evgeny.burovskiy@gmail.com>2022-05-22 22:20:16 +0300
committerEvgeni Burovski <evgeny.burovskiy@gmail.com>2022-05-22 22:24:54 +0300
commit11a5129232bd4e43707b203232baa928bc547f38 (patch)
tree0e3c917ba5cd8cdb605bdba763bf737d7019d6c6
parentfd45ab90e9ce6f6724a57f215592fd3066a7436c (diff)
downloadnumpy-11a5129232bd4e43707b203232baa928bc547f38.tar.gz
BUG: refguide-check: respect the verbosity
$ python runtests.py -s numpy.lib.recfunctions --refguide-check -v Previously, the `-v` switch was silently ignored.
-rwxr-xr-xruntests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index 5d48bfa7f..fea29a10d 100755
--- a/runtests.py
+++ b/runtests.py
@@ -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)