[PATCH 6 of 6] py3: avoid b'' output in test-hgweb-non-interactive.t

Yuya Nishihara yuya at tcha.org
Sun Sep 30 08:09:53 EDT 2018


On Sun, 30 Sep 2018 01:46:25 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1538284546 14400
> #      Sun Sep 30 01:15:46 2018 -0400
> # Node ID ff3aa78f7d11f0652a949a8b4064fc70481bcf5b
> # Parent  a690c4f6b7a38a09346dcf51691fd2ccddefaa12
> py3: avoid b'' output in test-hgweb-non-interactive.t
> 
> I couldn't figure out how to get the list to print without b'' with
> pycompat.write(), without converted each element to str.

stringutil.pprint() can be used.


More information about the Mercurial-devel mailing list