diff tests/hghave.py @ 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 aeb2812f304d
children fed697fa1734
line wrap: on
line diff
--- a/tests/hghave.py	Sat Oct 13 09:03:08 2018 -0400
+++ b/tests/hghave.py	Sat Oct 13 10:09:12 2018 +0200
@@ -641,8 +641,8 @@
     # chg disables demandimport intentionally for performance wins.
     return ((not has_chg()) and os.environ.get('HGDEMANDIMPORT') != 'disable')
 
-@check("py3k", "running with Python 3.x")
-def has_py3k():
+@check("py3", "running with Python 3.x")
+def has_py3():
     return 3 == sys.version_info[0]
 
 @check("py3exe", "a Python 3.x interpreter is available")