changeset 39475:4babb55e4503

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 06 Sep 2018 03:24:27 +0530
parents a913d2892e17
children bc3b99d5627e
files tests/test-fastannotate-hg.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,