changeset 40263 | 8cf459d8b111 |
parent 39759 | aeb2812f304d |
child 40326 | fed697fa1734 |
--- 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")