py3: use absolute_import in mockblackbox.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sat, 16 Apr 2016 05:30:32 +0300
changeset 28943 417380aa5bbe
parent 28942 05cb9c6f310e
child 28944 036787c10b16
py3: use absolute_import in mockblackbox.py
tests/mockblackbox.py
tests/test-check-py3-compat.t
--- a/tests/mockblackbox.py	Sat Apr 16 05:29:29 2016 +0300
+++ b/tests/mockblackbox.py	Sat Apr 16 05:30:32 2016 +0300
@@ -1,4 +1,7 @@
-from mercurial import util
+from __future__ import absolute_import
+from mercurial import (
+    util,
+)
 
 def makedate():
     return 0, 0
--- a/tests/test-check-py3-compat.t	Sat Apr 16 05:29:29 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 16 05:30:32 2016 +0300
@@ -42,7 +42,6 @@
   setup.py not using absolute_import
   tests/heredoctest.py requires print_function
   tests/md5sum.py not using absolute_import
-  tests/mockblackbox.py not using absolute_import
   tests/printenv.py not using absolute_import
   tests/readlink.py not using absolute_import
   tests/readlink.py requires print_function