changeset 28841:e155b8d5e3b7

tests: move stdlib imports before mercurial modules in test-parseindex2
author Yuya Nishihara <yuya@tcha.org>
date Tue, 05 Apr 2016 23:23:43 +0900
parents 8717d4609ab3
children d466facc5a6e
files tests/test-parseindex2.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):