--- a/tests/test-check-py3-compat.t Sun Apr 03 06:16:17 2016 +0300
+++ b/tests/test-check-py3-compat.t Sun Apr 03 06:20:17 2016 +0300
@@ -53,7 +53,6 @@
tests/svn-safe-append.py not using absolute_import
tests/svnxml.py not using absolute_import
tests/test-atomictempfile.py not using absolute_import
- tests/test-context.py not using absolute_import
tests/test-context.py requires print_function
tests/test-demandimport.py not using absolute_import
tests/test-demandimport.py requires print_function
--- a/tests/test-context.py Sun Apr 03 06:16:17 2016 +0300
+++ b/tests/test-context.py Sun Apr 03 06:20:17 2016 +0300
@@ -1,5 +1,11 @@
+from __future__ import absolute_import
import os
-from mercurial import hg, ui, context, encoding
+from mercurial import (
+ hg,
+ ui,
+ context,
+ encoding,
+)
u = ui.ui()