--- a/tests/test-requires.t Tue Aug 22 16:59:12 2017 -0400
+++ b/tests/test-requires.t Tue Aug 22 16:59:17 2017 -0400
@@ -32,7 +32,8 @@
$ echo 'featuresetup-test' >> supported/.hg/requires
$ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF
- > from mercurial import localrepo, extensions
+ > from __future__ import absolute_import
+ > from mercurial import extensions, localrepo
> def featuresetup(ui, supported):
> for name, module in extensions.extensions(ui):
> if __name__ == module.__name__: