# HG changeset patch # User Augie Fackler # Date 1503428290 14400 # Node ID fa187801f4b857792094bb325155304c7e417b6c # Parent 54c21114e41d9e1676fbe1fe69c487a0a48ba3e9 tests: update test-annotate to pass our module import checker diff -r 54c21114e41d -r fa187801f4b8 tests/test-annotate.t --- a/tests/test-annotate.t Mon Jul 03 03:56:53 2017 +0200 +++ b/tests/test-annotate.t Tue Aug 22 14:58:10 2017 -0400 @@ -400,7 +400,8 @@ and its ancestor by overriding "repo._filecommit". $ cat > ../legacyrepo.py < from mercurial import node, error + > from __future__ import absolute_import + > from mercurial import error, node > def reposetup(ui, repo): > class legacyrepo(repo.__class__): > def _filecommit(self, fctx, manifest1, manifest2,