Submitter | timeless |
---|---|
Date | Aug. 25, 2016, 11:18 p.m. |
Message ID | <742a98771290ee1dbeb0.1472167101@gcc2-power8.osuosl.org> |
Download | mbox | patch |
Permalink | /patch/16438/ |
State | Accepted |
Headers | show |
Comments
Patch
diff -r 2b368e1f8ac0 -r 742a98771290 tests/hghave.py --- a/tests/hghave.py Thu Aug 25 22:51:39 2016 +0000 +++ b/tests/hghave.py Thu Aug 25 22:30:35 2016 +0000 @@ -526,6 +526,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__