From da07e73814feaf6fcece0d0b0361063fe3971fba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Oct 2018 17:15:35 +0200 Subject: Fix verbose tests with Python 3 --- extras/autowaf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/autowaf.py b/extras/autowaf.py index 8f9c633..03f323f 100644 --- a/extras/autowaf.py +++ b/extras/autowaf.py @@ -878,8 +878,8 @@ def run_test(ctx, Logs.pprint('RED', test) if Options.options.verbose_tests and type(test) != list and not callable(test): - sys.stdout.write(out[0]) - sys.stderr.write(out[1]) + sys.stdout.write(out[0].decode('utf-8')) + sys.stderr.write(out[1].decode('utf-8')) return (success, out) -- cgit v1.2.1