py3: use absolute_import in test-minirst.py
authorRobert Stanca <robert.stanca7@gmail.com>
Mon, 04 Apr 2016 03:00:43 +0300
changeset 28751 67a4e42a651f
parent 28750 2b0d7be90fc4
child 28752 6b2f9a4e2f97
py3: use absolute_import in test-minirst.py
tests/test-check-py3-compat.t
tests/test-minirst.py
--- a/tests/test-check-py3-compat.t	Mon Apr 04 02:58:53 2016 +0300
+++ b/tests/test-check-py3-compat.t	Mon Apr 04 03:00:43 2016 +0300
@@ -60,7 +60,6 @@
   tests/test-lrucachedict.py not using absolute_import
   tests/test-lrucachedict.py requires print_function
   tests/test-manifest.py not using absolute_import
-  tests/test-minirst.py not using absolute_import
   tests/test-minirst.py requires print_function
   tests/test-parseindex2.py not using absolute_import
   tests/test-parseindex2.py requires print_function
--- a/tests/test-minirst.py	Mon Apr 04 02:58:53 2016 +0300
+++ b/tests/test-minirst.py	Mon Apr 04 03:00:43 2016 +0300
@@ -1,5 +1,10 @@
-from pprint import pprint
-from mercurial import minirst
+from __future__ import absolute_import
+from pprint import (
+    pprint,
+)
+from mercurial import (
+    minirst,
+)
 
 def debugformat(text, form, **kwargs):
     if form == 'html':