[PATCH stable] tests: add lots of regex matching to test-http-bad-server.t

Sean Farley sean at farley.io
Mon Apr 24 14:45:34 EDT 2017


Augie Fackler <raf at durin42.com> writes:

> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1493059110 14400
> #      Mon Apr 24 14:38:30 2017 -0400
> # Branch stable
> # Node ID 52cca17ac523b490acdab259e794e7c2898efeda
> # Parent  40cf693fc07d846502f9c15a1602880ca99d7b56
> tests: add lots of regex matching to test-http-bad-server.t
>
> This makes the test pass in Python 2.6. It's all one of two problems:
>
> 1)
>   abort: error: '' (2.7)
>   vs
>   abort: error: (2.6)
>
> 2) 65537 (2.7) vs -1 (2.6)
>
> With some...unfortunate escaping required due to how regular
> expressions work. Sigh.

:-O
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170424/6f885495/attachment.sig>


More information about the Mercurial-devel mailing list