changeset 34005:ed88f90bb787

tests: update test-strip to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 16:59:26 -0400
parents 169c97d4e722
children afb33e73e515
files tests/test-strip.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)]