changeset 38656:531f5e933e49

tests: properly sort imports in test-nointerrupt.t Somehow this was only detected in Python 3. Differential Revision: https://phab.mercurial-scm.org/D3923
author Augie Fackler <augie@google.com>
date Wed, 11 Jul 2018 11:41:14 -0400
parents cd1c484e31e8
children 28c9d67d88ab
files tests/test-nointerrupt.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-nointerrupt.t	Wed Jul 11 11:34:41 2018 -0400
+++ b/tests/test-nointerrupt.t	Wed Jul 11 11:41:14 2018 -0400
@@ -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)