[PATCH 1 of 8] test-module-imports: drop check for Python >= 2.6

Augie Fackler raf at durin42.com
Tue May 26 09:29:51 CDT 2015


On Mon, May 25, 2015 at 12:23:45PM -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1432577209 25200
> #      Mon May 25 11:06:49 2015 -0700
> # Node ID f085ecda3b0e11341ecc119683d5fc47038540d4
> # Parent  605b1d32c1c011d56233f28923ee5354fce7e426
> test-module-imports: drop check for Python >= 2.6

This one is queued, the rest see the thread on patch 2 of N.

>
> Support for Python 2.4 and 2.5 has been dropped. This check is no
> longer necessary.
>
> diff --git a/tests/test-module-imports.t b/tests/test-module-imports.t
> --- a/tests/test-module-imports.t
> +++ b/tests/test-module-imports.t
> @@ -1,10 +1,6 @@
>  #require test-repo
>
> -This code uses the ast module, which was new in 2.6, so we'll skip
> -this test on anything earlier.
> -  $ $PYTHON -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
> -
>    $ import_checker="$TESTDIR"/../contrib/import-checker.py
>
>  Run the doctests from the import checker, and make sure
>  it's working correctly.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list