[PATCH 5 of 8 v2] tests: make test-ui-verbosity use absolute_import

Pulkit Goyal 7895pulkit at gmail.com
Tue Mar 29 07:47:49 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1459249161 -19800
#      Tue Mar 29 16:29:21 2016 +0530
# Node ID 29b8a35e54bb19f0402de26d20483fcf1c84d777
# Parent  78389f4d46a0dd47838bcfb3e69530e39edd28fe
tests: make test-ui-verbosity use absolute_import

diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t
+++ b/tests/test-check-py3-compat.t
@@ -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
diff --git a/tests/test-ui-verbosity.py b/tests/test-ui-verbosity.py
--- a/tests/test-ui-verbosity.py
+++ b/tests/test-ui-verbosity.py
@@ -1,4 +1,4 @@
-from __future__ import print_function
+from __future__ import absolute_import, print_function
 import os
 from mercurial import ui
 


More information about the Mercurial-devel mailing list