--- a/doc/hgmanpage.py Sun Apr 17 00:20:44 2016 +0530
+++ b/doc/hgmanpage.py Sun Apr 17 00:23:05 2016 +0530
@@ -41,12 +41,18 @@
by the command whatis or apropos.
"""
+from __future__ import absolute_import
__docformat__ = 'reStructuredText'
+import inspect
import re
-from docutils import nodes, writers, languages
+from docutils import (
+ languages,
+ nodes,
+ writers,
+)
try:
import roman
except ImportError:
--- a/tests/test-check-py3-compat.t Sun Apr 17 00:20:44 2016 +0530
+++ b/tests/test-check-py3-compat.t Sun Apr 17 00:23:05 2016 +0530
@@ -3,7 +3,6 @@
$ cd "$TESTDIR"/..
$ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
- doc/hgmanpage.py not using absolute_import
hgext/color.py not using absolute_import
hgext/eol.py not using absolute_import
hgext/extdiff.py not using absolute_import