aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-10 14:26:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-10 14:26:18 -0700
commitae4432ef81c1bf51a7ab900cc3b8f9350c67806b (patch)
tree4a00695aa5967b2bd7dab7f4317d83a2c84e88bd /test
parentb994be4191ccf06cf55716f004c5b0bc4ae7d53e (diff)
Fixed small bug in spec test runner.
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):