From patchwork Sat Apr 9 10:56:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4, of, 7] tests: move stdlib imports before mercurial modules in test-parseindex2 From: Yuya Nishihara X-Patchwork-Id: 14462 Message-Id: <86005c9e26842d8bbcbb.1460199376@mimosa> To: mercurial-devel@mercurial-scm.org Date: Sat, 09 Apr 2016 19:56:16 +0900 # HG changeset patch # User Yuya Nishihara # 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):