--- a/mercurial/similar.py Sat Dec 12 23:14:08 2015 -0800
+++ b/mercurial/similar.py Sat Dec 12 23:17:22 2015 -0800
@@ -5,10 +5,14 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-from i18n import _
-import util
-import mdiff
-import bdiff
+from __future__ import absolute_import
+
+from .i18n import _
+from . import (
+ bdiff,
+ mdiff,
+ util,
+)
def _findexactmatches(repo, added, removed):
'''find renamed files that have no changes
--- a/tests/test-check-py3-compat.t Sat Dec 12 23:14:08 2015 -0800
+++ b/tests/test-check-py3-compat.t Sat Dec 12 23:17:22 2015 -0800
@@ -126,7 +126,6 @@
mercurial/scmposix.py not using absolute_import
mercurial/scmutil.py not using absolute_import
mercurial/scmwindows.py not using absolute_import
- mercurial/similar.py not using absolute_import
mercurial/store.py not using absolute_import
mercurial/windows.py not using absolute_import
setup.py not using absolute_import