• Jérome Perrin's avatar
    More python3 compatibility · 9a152138
    Jérome Perrin authored
    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.
    9a152138
http.py 35.8 KB