D3923: tests: properly sort imports in test-nointerrupt.t

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Jul 11 17:56:19 UTC 2018


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Somehow this was only detected in Python 3.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3923

AFFECTED FILES
  tests/test-nointerrupt.t

CHANGE DETAILS

diff --git a/tests/test-nointerrupt.t b/tests/test-nointerrupt.t
--- a/tests/test-nointerrupt.t
+++ b/tests/test-nointerrupt.t
@@ -1,10 +1,10 @@
 Dummy extension simulating unsafe long running command
   $ cat > sleepext.py <<EOF
+  > import itertools
   > import time
-  > import itertools
   > 
+  > from mercurial.i18n import _
   > from mercurial import registrar
-  > from mercurial.i18n import _
   > 
   > cmdtable = {}
   > command = registrar.command(cmdtable)



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list