tests: update test-strip to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:59:26 -0400
changeset 33987 ed88f90bb787
parent 33986 169c97d4e722
child 33988 afb33e73e515
tests: update test-strip to pass our import checker
tests/test-strip.t
--- a/tests/test-strip.t	Tue Aug 22 16:59:21 2017 -0400
+++ b/tests/test-strip.t	Tue Aug 22 16:59:26 2017 -0400
@@ -961,7 +961,8 @@
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ echo 3 >> I
   $ cat > $TESTTMP/delayedstrip.py <<EOF
-  > from mercurial import repair, commands
+  > from __future__ import absolute_import
+  > from mercurial import commands, repair
   > def reposetup(ui, repo):
   >     def getnodes(expr):
   >         return [repo.changelog.node(r) for r in repo.revs(expr)]