Commit 97af85f9 authored by Jérome Perrin's avatar Jérome Perrin

util/testsuite: python3 fixes

parent 6e401e43
Pipeline #21462 passed with stage
...@@ -219,8 +219,8 @@ class TestSuite(object): ...@@ -219,8 +219,8 @@ class TestSuite(object):
else: else:
stdout, stderr = p.communicate() stdout, stderr = p.communicate()
if not quiet: if not quiet:
sys.stdout.write(stdout) stdbin(sys.stdout).write(stdout)
sys.stderr.write(stderr) stdbin(sys.stderr).write(stderr)
result = dict(status_code=p.returncode, command=command, result = dict(status_code=p.returncode, command=command,
stdout=stdout, stderr=stderr) stdout=stdout, stderr=stderr)
if p.returncode: if p.returncode:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment