# HG changeset patch # User Gregory Szorc # Date 2015-12-22 05:21:09 # Node ID 029f02757c207754157e1f6ba744606d11930581 # Parent 509159675cdb4be66b5586a59579e5e8d427ea26 scmwindows: use absolute_import 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