##// END OF EJS Templates
py3: tweak stdout writing in test-hgweb-no-path-info.t...
py3: tweak stdout writing in test-hgweb-no-path-info.t We want to write bytes for convenience. This requires sys.stdout.buffer. But using sys.stdout.buffer introducing buffered output. So we sprinkle code with sys.stdout.flush() to force immediate writes. After all that, Python 3 was emitting b'' prefixed output for errors. So we only print errors if there were some. There aren't, so b'' don't come into play and output is identical in Python 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D4972
Gregory Szorc -
r40197:3eea8e83 default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / c-ext
bufferutil.c Loading ...
compressionchunker.c Loading ...
compressiondict.c Loading ...
compressionparams.c Loading ...
compressionreader.c Loading ...
compressionwriter.c Loading ...
compressobj.c Loading ...
compressor.c Loading ...
compressoriterator.c Loading ...
constants.c Loading ...
decompressionreader.c Loading ...
decompressionwriter.c Loading ...
decompressobj.c Loading ...
decompressor.c Loading ...
decompressoriterator.c Loading ...
frameparams.c Loading ...
python-zstandard.h Loading ...