tests/hghave.py
changeset 33528 c384ac3ea147
parent 32919 559db66dead5
child 33723 4d1e79945c2e
--- a/tests/hghave.py	Sat Jul 15 14:17:35 2017 +0200
+++ b/tests/hghave.py	Sun Jul 16 17:47:10 2017 +0900
@@ -585,12 +585,6 @@
 def has_demandimport():
     return os.environ.get('HGDEMANDIMPORT') != 'disable'
 
-@check("absimport", "absolute_import in __future__")
-def has_absimport():
-    import __future__
-    from mercurial import util
-    return util.safehasattr(__future__, "absolute_import")
-
 @check("py3k", "running with Python 3.x")
 def has_py3k():
     return 3 == sys.version_info[0]