From ae4432ef81c1bf51a7ab900cc3b8f9350c67806b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 10 Jul 2015 14:26:18 -0700 Subject: Fixed small bug in spec test runner. --- test/spec_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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