summaryrefslogtreecommitdiff
path: root/tools/refguide_check.py
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2020-02-05 00:01:13 -0800
committerSeth Troisi <sethtroisi@google.com>2020-02-05 00:01:13 -0800
commitc6c56447af69766dee562e66494e61981d4e6955 (patch)
treee0a2dbd8976573cd2534d31b7fb232bb85665c58 /tools/refguide_check.py
parentfed1fb49bc50fd2a44238b8250d13314a127ddcc (diff)
downloadnumpy-c6c56447af69766dee562e66494e61981d4e6955.tar.gz
TST: Fix missing output in refguide-check
Diffstat (limited to 'tools/refguide_check.py')
-rw-r--r--tools/refguide_check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/refguide_check.py b/tools/refguide_check.py
index fbc95f500..41b3e234e 100644
--- a/tools/refguide_check.py
+++ b/tools/refguide_check.py
@@ -826,6 +826,7 @@ def _run_doctests(tests, full_name, verbose, doctest_warnings):
success = False
ns = t.globs
+ output.seek(0)
return success, output.read()