diff --git a/doc/hgmanpage.py b/doc/hgmanpage.py --- a/doc/hgmanpage.py +++ b/doc/hgmanpage.py @@ -41,12 +41,18 @@ A unix-like system keeps an index of the 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: diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -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