diff -r c8f164061212 -r 8cf459d8b111 tests/hghave.py --- 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")