--- a/mercurial/obsolete.py Sat Dec 12 13:27:31 2015 -0500
+++ b/mercurial/obsolete.py Sat Dec 12 13:30:47 2015 -0500
@@ -67,10 +67,20 @@
comment associated with each format for details.
"""
-import errno, struct
-import util, base85, node, parsers, error
-import phases
-from i18n import _
+from __future__ import absolute_import
+
+import errno
+import struct
+
+from .i18n import _
+from . import (
+ base85,
+ error,
+ node,
+ parsers,
+ phases,
+ util,
+)
_pack = struct.pack
_unpack = struct.unpack
--- a/tests/test-check-py3-compat.t Sat Dec 12 13:27:31 2015 -0500
+++ b/tests/test-check-py3-compat.t Sat Dec 12 13:30:47 2015 -0500
@@ -122,7 +122,6 @@
mercurial/mail.py requires print_function
mercurial/manifest.py not using absolute_import
mercurial/mdiff.py not using absolute_import
- mercurial/obsolete.py not using absolute_import
mercurial/patch.py not using absolute_import
mercurial/pure/base85.py not using absolute_import
mercurial/pure/bdiff.py not using absolute_import