tests: order the imports in test-fastannotate-hg.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Thu, 06 Sep 2018 03:24:27 +0530
changeset 39475 4babb55e4503
parent 39474 a913d2892e17
child 39476 bc3b99d5627e
tests: order the imports in test-fastannotate-hg.t The wrong ordering breaks test-check-module-imports.t on Python 3. I am not sure why that test is so much active on py3. Differential Revision: https://phab.mercurial-scm.org/D4496
tests/test-fastannotate-hg.t
--- a/tests/test-fastannotate-hg.t	Thu Sep 06 00:51:21 2018 -0400
+++ b/tests/test-fastannotate-hg.t	Thu Sep 06 03:24:27 2018 +0530
@@ -439,7 +439,7 @@
 and its ancestor by overriding "repo._filecommit".
 
   $ cat > ../legacyrepo.py <<EOF
-  > from mercurial import node, error
+  > from mercurial import error, node
   > def reposetup(ui, repo):
   >     class legacyrepo(repo.__class__):
   >         def _filecommit(self, fctx, manifest1, manifest2,