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

Augie Fackler raf at durin42.com
Mon Aug 28 11:27:30 EDT 2017


# HG changeset patch
# User Augie Fackler <raf at 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

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)


More information about the Mercurial-devel mailing list