py3: make test-ui-verbosity use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Tue, 29 Mar 2016 16:29:21 +0530
changeset 28679 e48a8ac66a41
parent 28678 870dae78234c
child 28680 ae606bdedc3e
py3: make test-ui-verbosity use absolute_import
tests/test-check-py3-compat.t
tests/test-ui-verbosity.py
--- a/tests/test-check-py3-compat.t	Tue Mar 29 16:27:01 2016 +0530
+++ b/tests/test-check-py3-compat.t	Tue Mar 29 16:29:21 2016 +0530
@@ -111,7 +111,6 @@
   tests/test-ui-color.py requires print_function
   tests/test-ui-config.py not using absolute_import
   tests/test-ui-config.py requires print_function
-  tests/test-ui-verbosity.py not using absolute_import
   tests/test-url.py not using absolute_import
 
 #if py3exe
--- a/tests/test-ui-verbosity.py	Tue Mar 29 16:27:01 2016 +0530
+++ b/tests/test-ui-verbosity.py	Tue Mar 29 16:29:21 2016 +0530
@@ -1,4 +1,4 @@
-from __future__ import print_function
+from __future__ import absolute_import, print_function
 
 import os
 from mercurial import ui