changeset 32235:cf415777a22c

hghave: remove py27+ capability It is now unused. And we require Python 2.7+ now so this check is not necessary.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 08 May 2017 15:31:34 -0700
parents ab89d2f7dc9a
children c8b9943c07eb
files tests/hghave.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Mon May 08 15:30:15 2017 -0700
+++ b/tests/hghave.py	Mon May 08 15:31:34 2017 -0700
@@ -580,10 +580,6 @@
     from mercurial import util
     return util.safehasattr(__future__, "absolute_import")
 
-@check("py27+", "running with Python 2.7+")
-def has_python27ornewer():
-    return sys.version_info[0:2] >= (2, 7)
-
 @check("py3k", "running with Python 3.x")
 def has_py3k():
     return 3 == sys.version_info[0]