[PATCH 5 of 5 RFC py3 support] run-tests: minimum changes required to make run-tests work in python3

Matt Mackall mpm at selenic.com
Thu Sep 19 15:36:02 CDT 2013


On Thu, 2013-09-19 at 16:08 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1379621130 14400
> #      Thu Sep 19 16:05:30 2013 -0400
> # Node ID ff2da594a06def2e61f9e5e6226dcc27419a76fb
> # Parent  cc547e41d77a130261625702e358307dde42dc39
> run-tests: minimum changes required to make run-tests work in python3
> 
> This is just doing the dumbest thing possible and assumes test
> input/output is all utf-8. This works for now, at least for the simple
> tests I'm interested in trying to run, so I'm calling it progress
> until I have to come back and figure out something smarter.

Please tell me this doesn't mean subprocess can't return byte streams in
3.x.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list