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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 6a0e486aa..d58d9d01f 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -109,6 +109,8 @@ class _dummy_stream:
self.data.append(message)
def writeln(self,message):
self.write(message+'\n')
+ def flush(self):
+ self.stream.flush()
class NumpyTestCase (unittest.TestCase):