[PATCH 04 of 10] tests: update test-logtoprocess to pass our import checker

Augie Fackler raf at durin42.com
Mon Aug 28 10:55:55 EDT 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1503435508 14400
#      Tue Aug 22 16:58:28 2017 -0400
# Node ID 2d0bd884a8a10cd63777d59a2df43c2103102a11
# Parent  11a6c1d535b01c51e65fd8527542cd271b147398
tests: update test-logtoprocess to pass our import checker

diff --git a/tests/test-logtoprocess.t b/tests/test-logtoprocess.t
--- a/tests/test-logtoprocess.t
+++ b/tests/test-logtoprocess.t
@@ -8,8 +8,8 @@ Test if logtoprocess correctly captures 
 
   $ 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', [])


More information about the Mercurial-devel mailing list