author | timeless <timeless@mozdev.org> |
Thu, 25 Aug 2016 22:30:35 +0000 | |
changeset 29867 | b05a3a04f046 |
parent 29866 | a5ce381a8da0 |
child 29868 | 4b50e1f922a0 |
tests/hghave.py | file | annotate | diff | comparison | revisions |
--- a/tests/hghave.py Thu Aug 25 22:51:39 2016 +0000 +++ b/tests/hghave.py Thu Aug 25 22:30:35 2016 +0000 @@ -530,6 +530,10 @@ br'other supported Python versions') return dpkg and dh and dh_py2 +@check("demandimport", "demandimport enabled") +def has_demandimport(): + return os.environ.get('HGDEMANDIMPORT') != 'disable' + @check("absimport", "absolute_import in __future__") def has_absimport(): import __future__