--- a/tests/autodiff.py Sun Dec 06 22:07:13 2015 -0800
+++ b/tests/autodiff.py Sun Dec 06 22:10:10 2015 -0800
@@ -1,7 +1,13 @@
# Extension dedicated to test patch.diff() upgrade modes
-#
-#
-from mercurial import cmdutil, scmutil, patch, error
+
+from __future__ import absolute_import
+
+from mercurial import (
+ cmdutil,
+ error,
+ patch,
+ scmutil,
+)
cmdtable = {}
command = cmdutil.command(cmdtable)
--- a/tests/test-check-py3-compat.t Sun Dec 06 22:07:13 2015 -0800
+++ b/tests/test-check-py3-compat.t Sun Dec 06 22:10:10 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/autodiff.py not using absolute_import
tests/dumbhttp.py not using absolute_import
tests/fakedirstatewritetime.py not using absolute_import
tests/fakepatchtime.py not using absolute_import