[PATCH] py3: use bytes stdout in test-check-help.t

Yuya Nishihara yuya at tcha.org
Wed Dec 19 06:24:30 EST 2018


On Tue, 18 Dec 2018 14:11:03 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1545159666 18000
> #      Tue Dec 18 14:01:06 2018 -0500
> # Node ID b287acea09a9edfce8f8045e489b590645f92567
> # Parent  932ed8a051de1d7ef7aee5af66395b48080f17b3
> py3: use bytes stdout in test-check-help.t

Queued, thanks.

> Setting stdout to binary seemed to have no effect on Windows,

It's needed for Python 2 (i.e. libc), and sys.stdout.buffer is required for
Python 3.


More information about the Mercurial-devel mailing list