Mercurial > hg
diff tests/test-module-imports.t @ 25269:46bf4983cf31
test-module-imports: drop check for Python >= 2.6
Support for Python 2.4 and 2.5 has been dropped. This check is no
longer necessary.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 25 May 2015 11:06:49 -0700 |
parents | 665a9deae8dd |
children | 7a5335ed7e1a |
line wrap: on
line diff
--- a/tests/test-module-imports.t Sat May 23 15:55:04 2015 -0500 +++ b/tests/test-module-imports.t Mon May 25 11:06:49 2015 -0700 @@ -1,9 +1,5 @@ #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