[PATCH 4 of 4 py3] contrib: add a ratchet for tests in Python 3

Yuya Nishihara yuya at tcha.org
Fri Jun 16 09:28:37 EDT 2017


On Thu, 15 Jun 2017 15:32:33 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1497538829 14400
> #      Thu Jun 15 11:00:29 2017 -0400
> # Node ID 9e953219e5a86261afc146d98328ce2db5aba79d
> # Parent  57adc02a69757a416b417305164d605ef1c41708
> contrib: add a ratchet for tests in Python 3

Queued these, many thanks.

> +    try:
> +        subprocess.check_call([opts.python3, '-c',
> +                               'import sys ; '
> +                               'assert ((3, 4) < sys.version_info < (3, 6) '

Perhaps you would mean (3, 5) <= sys.version_info ?

> +                               'or sys.version_info >= (3, 6, 2))'])


More information about the Mercurial-devel mailing list