[PATCH 2 of 2] test-encoding: rewrite utf8b fuzz testing as python inlines

Yuya Nishihara yuya at tcha.org
Tue Nov 17 07:38:07 CST 2015


On Mon, 16 Nov 2015 13:56:39 -0800, Pierre-Yves David wrote:
> On 11/09/2015 06:41 AM, Yuya Nishihara wrote:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1447076944 -32400
> > #      Mon Nov 09 22:49:04 2015 +0900
> > # Node ID 67bc69088f4fd921e9bc2353524ec0b2c61eb4bd
> > # Parent  a7e586cc8587d3e4a0bbf607d5b902a988cb5bc8
> > test-encoding: rewrite utf8b fuzz testing as python inlines
> >
> > We generally prefer putting a test code and its result in the same file.
> 
> I'm not sure about this patch, the idea is to make it easy to do 
> roundtrip testing in other tests. Sure the code is small but it still 
> seems to make sense to factorize the function for maintainance purpose.
> 
> What do you think?

Got it. Please disregard this.


More information about the Mercurial-devel mailing list