--- a/mercurial/pure/bdiff.py Sat Dec 12 13:33:47 2015 -0500
+++ b/mercurial/pure/bdiff.py Sat Dec 12 13:34:55 2015 -0500
@@ -5,7 +5,11 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-import struct, difflib, re
+from __future__ import absolute_import
+
+import difflib
+import re
+import struct
def splitnewlines(text):
'''like str.splitlines, but only split on newlines.'''
--- a/tests/test-check-py3-compat.t Sat Dec 12 13:33:47 2015 -0500
+++ b/tests/test-check-py3-compat.t Sat Dec 12 13:34:55 2015 -0500
@@ -122,7 +122,6 @@
mercurial/manifest.py not using absolute_import
mercurial/mdiff.py not using absolute_import
mercurial/patch.py not using absolute_import
- mercurial/pure/bdiff.py not using absolute_import
mercurial/pure/diffhelpers.py not using absolute_import
mercurial/pure/mpatch.py not using absolute_import
mercurial/pure/osutil.py not using absolute_import