--- a/tests/fakepatchtime.py Sun Dec 06 22:13:36 2015 -0800
+++ b/tests/fakepatchtime.py Sun Dec 06 22:14:39 2015 -0800
@@ -1,7 +1,13 @@
# extension to emulate invoking 'patch.internalpatch()' at the time
# specified by '[fakepatchtime] fakenow'
-from mercurial import extensions, patch as patchmod, util
+from __future__ import absolute_import
+
+from mercurial import (
+ extensions,
+ patch as patchmod,
+ util,
+)
def internalpatch(orig, ui, repo, patchobj, strip,
prefix='', files=None,
--- a/tests/test-check-py3-compat.t Sun Dec 06 22:13:36 2015 -0800
+++ b/tests/test-check-py3-compat.t Sun Dec 06 22:14:39 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/fakepatchtime.py not using absolute_import
tests/filterpyflakes.py not using absolute_import
tests/filterpyflakes.py requires print_function
tests/generate-working-copy-states.py not using absolute_import