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

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 2:55 p.m.
Message ID <2d0bd884a8a10cd63777.1503932155@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23415/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 2:55 p.m.
# HG changeset patch
# User Augie Fackler <raf@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

Patch

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', [])