# HG changeset patch # User Gregory Szorc # Date 2015-12-07 06:13:36 # Node ID b38adef652fe099c36ab6db68be6e301bff3cb31 # Parent 0bb8c405a7c79079bff0020a1c08b7fa4e5c12d3 tests/fakedirstatewritetime.py: use absolute_import diff --git a/tests/fakedirstatewritetime.py b/tests/fakedirstatewritetime.py --- a/tests/fakedirstatewritetime.py +++ b/tests/fakedirstatewritetime.py @@ -5,7 +5,15 @@ # - 'workingctx._checklookup()' (= 'repo.status()') # - 'committablectx.markcommitted()' -from mercurial import context, dirstate, extensions, parsers, util +from __future__ import absolute_import + +from mercurial import ( + context, + dirstate, + extensions, + parsers, + util, +) def pack_dirstate(fakenow, orig, dmap, copymap, pl, now): # execute what original parsers.pack_dirstate should do actually 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 @@ -143,7 +143,6 @@ mercurial/util.py not using absolute_import mercurial/windows.py not using absolute_import setup.py not using absolute_import - tests/fakedirstatewritetime.py not using absolute_import tests/fakepatchtime.py not using absolute_import tests/filterpyflakes.py not using absolute_import tests/filterpyflakes.py requires print_function