Commit 9a152138 authored by Jérome Perrin's avatar Jérome Perrin

More python3 compatibility

Printing using file= argument to print only worksfor binary files so we
cannot use constructs like print(b'', file=io.BytesIO()) because it
would actually print "b''" on python 3.

Change also the stdout capture in test to use text files.
parent be9ef7a2
Pipeline #6405 failed with stage
in 0 seconds