Mercurial > hg
changeset 28739:d289b8847f23
py3: use absolute_import in test-duplicateoptions.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 16:56:15 +0300 |
parents | 706f4ab710c8 |
children | e8ecd1aa3f6c |
files | tests/test-check-py3-compat.t tests/test-duplicateoptions.py |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Sun Apr 03 16:34:55 2016 +0300 +++ b/tests/test-check-py3-compat.t Sun Apr 03 16:56:15 2016 +0300 @@ -56,7 +56,6 @@ tests/test-demandimport.py not using absolute_import tests/test-demandimport.py requires print_function tests/test-doctest.py not using absolute_import - tests/test-duplicateoptions.py not using absolute_import tests/test-duplicateoptions.py requires print_function tests/test-filecache.py not using absolute_import tests/test-filecache.py requires print_function
--- a/tests/test-duplicateoptions.py Sun Apr 03 16:34:55 2016 +0300 +++ b/tests/test-duplicateoptions.py Sun Apr 03 16:56:15 2016 +0300 @@ -1,5 +1,10 @@ +from __future__ import absolute_import import os -from mercurial import ui, commands, extensions +from mercurial import ( + commands, + extensions, + ui, +) ignore = set(['highlight', 'win32text', 'factotum'])