diff --git a/mercurial/scmwindows.py b/mercurial/scmwindows.py --- a/mercurial/scmwindows.py +++ b/mercurial/scmwindows.py @@ -1,7 +1,12 @@ +from __future__ import absolute_import + +import _winreg import os -import osutil -import util -import _winreg + +from . import ( + osutil, + util, +) def systemrcpath(): '''return default os-specific hgrc search path''' 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 @@ -123,7 +123,6 @@ mercurial/py3kcompat.py not using absolute_import mercurial/scmposix.py not using absolute_import mercurial/scmutil.py not using absolute_import - mercurial/scmwindows.py not using absolute_import setup.py not using absolute_import tests/filterpyflakes.py requires print_function tests/generate-working-copy-states.py requires print_function