tests: update test-requires to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:59:17 -0400
changeset 33985 68bc85f46fe3
parent 33984 a37417e30a1f
child 33986 169c97d4e722
tests: update test-requires to pass our import checker
tests/test-requires.t
--- 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__: