# HG changeset patch # User FUJIWARA Katsunori # Date 2018-10-08 01:45:36 # Node ID 5d50c9ffaebb5d7f1d4cb5cfbb052d4d1eb2035f # Parent f80f7a67e17642f996bbd88d260177d5f6ab42cc tests: fix style issue of importing order in test-lock.py test-lock.py is excluded in test-check-module-imports.t, because import-checker.py reports that some stdlibs are imported after local silenttestrunner module. I can not found out any reason why tests/silenttestrunner.py should be imported before some stdlibs from the point of functionality view. diff --git a/tests/test-lock.py b/tests/test-lock.py --- a/tests/test-lock.py +++ b/tests/test-lock.py @@ -2,11 +2,12 @@ from __future__ import absolute_import import copy import errno -import silenttestrunner import tempfile import types import unittest +import silenttestrunner + from mercurial import ( encoding, error,