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

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 3:27 p.m.
Message ID <78b19b1d11bd083a1aee.1503934050@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23422/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 3:27 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503435552 14400
#      Tue Aug 22 16:59:12 2017 -0400
# Node ID 78b19b1d11bd083a1aeef9c99895378e93e857a5
# Parent  9bf8bd287bbf25b615a74cb6a47cce9c33bace4a
tests: update test-progress to pass our import checker

Patch

diff --git a/tests/test-progress.t b/tests/test-progress.t
--- a/tests/test-progress.t
+++ b/tests/test-progress.t
@@ -1,7 +1,8 @@ 
 
   $ cat > loop.py <<EOF
+  > from __future__ import absolute_import
+  > import time
   > from mercurial import commands, registrar
-  > import time
   > 
   > cmdtable = {}
   > command = registrar.command(cmdtable)