py3: use absolute_import in test-revlog-ancestry.py
authorRobert Stanca <robert.stanca7@gmail.com>
Mon, 04 Apr 2016 05:09:24 +0300
changeset 28763 abe605bbf0de
parent 28762 61ba04ae6a2f
child 28764 e677b8daeb3f
py3: use absolute_import in test-revlog-ancestry.py
tests/test-check-py3-compat.t
tests/test-revlog-ancestry.py
--- a/tests/test-check-py3-compat.t	Mon Apr 04 04:56:05 2016 +0300
+++ b/tests/test-check-py3-compat.t	Mon Apr 04 05:09:24 2016 +0300
@@ -62,7 +62,6 @@
   tests/test-manifest.py not using absolute_import
   tests/test-pathencode.py not using absolute_import
   tests/test-pathencode.py requires print_function
-  tests/test-revlog-ancestry.py not using absolute_import
   tests/test-revlog-ancestry.py requires print_function
   tests/test-run-tests.py not using absolute_import
   tests/test-simplemerge.py not using absolute_import
--- a/tests/test-revlog-ancestry.py	Mon Apr 04 04:56:05 2016 +0300
+++ b/tests/test-revlog-ancestry.py	Mon Apr 04 05:09:24 2016 +0300
@@ -1,5 +1,10 @@
+from __future__ import absolute_import
 import os
-from mercurial import hg, ui, merge
+from mercurial import (
+    hg,
+    merge,
+    ui,
+)
 
 u = ui.ui()