Mercurial > public > mercurial-scm > hg
diff tests/test-check-py3-compat.t @ 39401:0cbcf962847e
test-check-py3-compat: don't run py2 part if $PYTHON is python3
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 02 Sep 2018 16:23:34 +0900 |
parents | 2df3271ef139 |
children | ecbab8be7470 |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Sat Sep 01 18:00:38 2018 -0400 +++ b/tests/test-check-py3-compat.t Sun Sep 02 16:23:34 2018 +0900 @@ -3,6 +3,7 @@ $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. +#if no-py3k $ testrepohg files 'set:(**.py)' \ > -X hgdemandimport/demandimportpy2.py \ > -X mercurial/thirdparty/cbor \ @@ -21,6 +22,7 @@ contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import setup.py not using absolute_import +#endif #if py3exe $ testrepohg files 'set:(**.py) - grep(pygments)' \