From 8343ed35bde1628ec04fd09b0ab23587da89caf5 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Tue, 31 Jan 2006 10:53:46 +0000 Subject: Fixed a misplaced test messages by flushing. --- numpy/testing/numpytest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/testing/numpytest.py') 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 -- cgit v1.2.1