##// END OF EJS Templates
hghave: add test for Python 2.7+...
Gregory Szorc -
r29576:d5067913 default
parent child Browse files
Show More
@@ -523,6 +523,10 b' def has_absimport():'
523 523 from mercurial import util
524 524 return util.safehasattr(__future__, "absolute_import")
525 525
526 @check("py27+", "running with Python 2.7+")
527 def has_python27ornewer():
528 return sys.version_info[0:2] >= (2, 7)
529
526 530 @check("py3k", "running with Python 3.x")
527 531 def has_py3k():
528 532 return 3 == sys.version_info[0]
General Comments 0
You need to be logged in to leave comments. Login now