[PATCH 1 of 5] run-tests: when building json, use result.failures instead of result.faildata

Gregory Szorc gregory.szorc at gmail.com
Fri May 8 18:30:22 CDT 2015


On Fri, May 8, 2015 at 11:53 AM, Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1431066024 25200
> #      Thu May 07 23:20:24 2015 -0700
> # Node ID dccc3de8c055f386a1dbfe72e86091251dbd0b50
> # Parent  c25b2adb3664cd3c488e2c53aab0c64100d40af7
> run-tests: when building json, use result.failures instead of
> result.faildata
>
>
If you are going to spend a lot of time on run-tests.py, I suggest you wait
a few days for Python 2.4/2.5 to be deprecated. There is tons of
legacy/polyfill code in run-tests.py that exists solely to support
antiquated versions of the unittest package. The file should become much
simpler once it is refactored to use modern unittest primitives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150508/aa85dea0/attachment.html>


More information about the Mercurial-devel mailing list