tests: update test-logtoprocess to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:58:28 -0400
changeset 33966 e98dab3fafbc
parent 33965 251bd3fddd9b
child 33967 00658bb0dfd5
tests: update test-logtoprocess to pass our import checker
tests/test-logtoprocess.t
--- a/tests/test-logtoprocess.t	Tue Aug 22 16:58:22 2017 -0400
+++ b/tests/test-logtoprocess.t	Tue Aug 22 16:58:28 2017 -0400
@@ -8,8 +8,8 @@
 
   $ hg init
   $ cat > $TESTTMP/foocommand.py << EOF
+  > from __future__ import absolute_import
   > from mercurial import registrar
-  > from time import sleep
   > cmdtable = {}
   > command = registrar.command(cmdtable)
   > @command(b'foo', [])