diff tests/test-check-py3-compat.t @ 40263:8cf459d8b111

py3: use py3 as the test tag, dropping the k Differential Revision: https://phab.mercurial-scm.org/D5079
author Martijn Pieters <mj@octobus.net>
date Sat, 13 Oct 2018 10:09:12 +0200
parents e5871e8fbb57
children 9f69ddb807f7
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t	Sat Oct 13 09:03:08 2018 -0400
+++ b/tests/test-check-py3-compat.t	Sat Oct 13 10:09:12 2018 +0200
@@ -3,7 +3,7 @@
   $ . "$TESTDIR/helpers-testrepo.sh"
   $ cd "$TESTDIR"/..
 
-#if no-py3k
+#if no-py3
   $ testrepohg files 'set:(**.py)' \
   > -X hgdemandimport/demandimportpy2.py \
   > -X mercurial/thirdparty/cbor \
@@ -24,7 +24,7 @@
   setup.py not using absolute_import
 #endif
 
-#if py3k
+#if py3
   $ testrepohg files 'set:(**.py) - grep(pygments)' \
   > -X hgdemandimport/demandimportpy2.py \
   > -X hgext/fsmonitor/pywatchman \
@@ -41,7 +41,7 @@
   mercurial/scmposix.py: error importing: <ModuleNotFoundError> No module named 'fcntl' (error at scmposix.py:*) (windows !)
 #endif
 
-#if py3k pygments
+#if py3 pygments
   $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
   > | xargs "$PYTHON" contrib/check-py3-compat.py \
   > | sed 's/[0-9][0-9]*)$/*)/'