From 31d0444a822454ed7118b696f6536a6ebf3852d9 Mon Sep 17 00:00:00 2001 From: Ivor Blockley Date: Tue, 18 Jul 2017 17:19:09 +1000 Subject: [PATCH] Update benchmark run_all.py for Python3 --- benchmark/bin/run_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/bin/run_all.py b/benchmark/bin/run_all.py index 60421a0..c3458d9 100755 --- a/benchmark/bin/run_all.py +++ b/benchmark/bin/run_all.py @@ -39,7 +39,7 @@ def run_one(prefix, name, mode, iters, faster, compression): data = {} if p.returncode != 0: - sys.stderr.write(' '.join(command) + ' failed to run with errors: \n' + p.stderr.read() + '\n') + sys.stderr.write(' '.join(command) + ' failed to run with errors: \n' + p.stderr.read().decode(sys.stdout.encoding) + '\n') sys.stderr.flush() data['type'] = res_type