tests/hghave.py
changeset 28582 cdbc25306696
parent 28383 e13e0e189990
child 28591 f29cab5c519c
--- a/tests/hghave.py	Fri Mar 18 11:06:03 2016 -0700
+++ b/tests/hghave.py	Fri Mar 18 16:17:56 2016 -0700
@@ -443,6 +443,10 @@
 def has_py3k():
     return 3 == sys.version_info[0]
 
+@check("py3exe", "a Python 3.x interpreter is available")
+def has_python3exe():
+    return 'PYTHON3' in os.environ
+
 @check("pure", "running with pure Python code")
 def has_pure():
     return any([