From 0ac1d6a242c3bb5a43a8131c9fe8c00c977fe5ca Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 9 Jul 2015 12:38:19 -0700 Subject: Fixed small bug in test runner. (Error printing errors from the test program.) --- test/spec_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec_tests.py b/test/spec_tests.py index 182368b..c6950fb 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -71,7 +71,7 @@ def do_test(test, normalize, result_counts): else: print_test_header(test['section'], test['example'], test['start_line'], test['end_line']) out("program returned error code %d\n" % retcode) - out(err + '\n') + sys.stdout.buffer.write(err) result_counts['error'] += 1 def get_tests(specfile): -- cgit v1.2.3