summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 1b834bb2a..74e2e7305 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -151,6 +151,7 @@ class NumpyTestCase (unittest.TestCase):
result.stream.data[-1] = 'ignoring\n'
del result.errors[-1]
map(save_stream.write, result.stream.data)
+ save_stream.flush()
result.stream = save_stream
ScipyTestCase = NumpyTestCase