# HG changeset patch # User Augie Fackler # Date 1503435493 14400 # Node ID bfafd189edd9bc24703d0165e977f1bfcf409041 # Parent 9a0f33f497cd1e3cb736b4444ab9ffebd682c0ed tests: update test-log-exthook to pass our import checker diff -r 9a0f33f497cd -r bfafd189edd9 tests/test-log-exthook.t --- a/tests/test-log-exthook.t Tue Aug 22 16:58:07 2017 -0400 +++ b/tests/test-log-exthook.t Tue Aug 22 16:58:13 2017 -0400 @@ -2,8 +2,12 @@ ------------------------------------------- $ cat > $TESTTMP/logexthook.py < from mercurial import repair, commands - > from mercurial import cmdutil + > from __future__ import absolute_import + > from mercurial import ( + > cmdutil, + > commands, + > repair, + > ) > def rot13description(self, ctx): > summary = "summary".encode('rot13') > description = ctx.description().strip().splitlines()[0].encode('rot13')