[PATCH 4 of 7] tests: move stdlib imports before mercurial modules in test-parseindex2

Yuya Nishihara yuya at tcha.org
Sat Apr 9 06:56:16 EDT 2016


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1459866223 -32400
#      Tue Apr 05 23:23:43 2016 +0900
# Node ID 86005c9e26842d8bbcbb8aea6d505dbbb1b612db
# Parent  383de8662e15c6eae956533ea9251515c1aa0e46
tests: move stdlib imports before mercurial modules in test-parseindex2

diff --git a/tests/test-parseindex2.py b/tests/test-parseindex2.py
--- a/tests/test-parseindex2.py
+++ b/tests/test-parseindex2.py
@@ -4,6 +4,11 @@ It also checks certain aspects of the pa
 """
 
 from __future__ import absolute_import, print_function
+
+import struct
+import subprocess
+import sys
+
 from mercurial import (
     parsers,
 )
@@ -11,9 +16,6 @@ from mercurial.node import (
     nullid,
     nullrev,
 )
-import struct
-import subprocess
-import sys
 
 # original python implementation
 def gettype(q):


More information about the Mercurial-devel mailing list