# HG changeset patch # User Augie Fackler # Date 2017-08-22 20:59:26 # Node ID ed88f90bb7872a9352bad1ec6dea04b360045be2 # Parent 169c97d4e72265e7143385e62641a71df825d045 tests: update test-strip to pass our import checker diff --git a/tests/test-strip.t b/tests/test-strip.t --- a/tests/test-strip.t +++ b/tests/test-strip.t @@ -961,7 +961,8 @@ Use delayedstrip to strip inside a trans 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ echo 3 >> I $ cat > $TESTTMP/delayedstrip.py < 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)]