Mercurial > hg-stable
changeset 28680:ae606bdedc3e
py3: make test-ui-config use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 29 Mar 2016 16:33:09 +0530 |
parents | e48a8ac66a41 |
children | eda8b28e3b1b |
files | tests/test-check-py3-compat.t tests/test-ui-config.py |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Tue Mar 29 16:29:21 2016 +0530 +++ b/tests/test-check-py3-compat.t Tue Mar 29 16:33:09 2016 +0530 @@ -109,7 +109,6 @@ tests/test-trusted.py requires print_function tests/test-ui-color.py not using absolute_import 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-url.py not using absolute_import
--- a/tests/test-ui-config.py Tue Mar 29 16:29:21 2016 +0530 +++ b/tests/test-ui-config.py Tue Mar 29 16:33:09 2016 +0530 @@ -1,4 +1,9 @@ -from mercurial import ui, dispatch, error +from __future__ import absolute_import +from mercurial import ( + dispatch, + error, + ui, +) testui = ui.ui() parsed = dispatch._parseconfig(testui, [