--- a/tests/fakedirstatewritetime.py Sun Dec 06 22:12:07 2015 -0800
+++ b/tests/fakedirstatewritetime.py Sun Dec 06 22:13:36 2015 -0800
@@ -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
--- a/tests/test-check-py3-compat.t Sun Dec 06 22:12:07 2015 -0800
+++ b/tests/test-check-py3-compat.t Sun Dec 06 22:13:36 2015 -0800
@@ -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