aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/spec_tests.py2
1 files changed, 1 insertions, 1 deletions
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):