changeset 28679:e48a8ac66a41

py3: make test-ui-verbosity use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 29 Mar 2016 16:29:21 +0530
parents 870dae78234c
children ae606bdedc3e
files tests/test-check-py3-compat.t tests/test-ui-verbosity.py
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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