changeset 40204:5d50c9ffaebb

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 08 Oct 2018 10:45:36 +0900
parents f80f7a67e176
children 89ba51c3e4f1
files tests/test-lock.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lock.py	Mon Oct 08 10:10:06 2018 +0900
+++ b/tests/test-lock.py	Mon Oct 08 10:45:36 2018 +0900
@@ -2,11 +2,12 @@
 
 import copy
 import errno
-import silenttestrunner
 import tempfile
 import types
 import unittest
 
+import silenttestrunner
+
 from mercurial import (
     encoding,
     error,