tests: move stdlib imports before mercurial modules in test-parseindex2
authorYuya Nishihara <yuya@tcha.org>
Tue, 05 Apr 2016 23:23:43 +0900
changeset 28841 e155b8d5e3b7
parent 28840 8717d4609ab3
child 28842 d466facc5a6e
tests: move stdlib imports before mercurial modules in test-parseindex2
tests/test-parseindex2.py
--- a/tests/test-parseindex2.py	Tue Apr 05 23:22:38 2016 +0900
+++ b/tests/test-parseindex2.py	Tue Apr 05 23:23:43 2016 +0900
@@ -4,6 +4,11 @@
 """
 
 from __future__ import absolute_import, print_function
+
+import struct
+import subprocess
+import sys
+
 from mercurial import (
     parsers,
 )
@@ -11,9 +16,6 @@
     nullid,
     nullrev,
 )
-import struct
-import subprocess
-import sys
 
 # original python implementation
 def gettype(q):