Mercurial > hg-stable
changeset 28404:06245740b408
tests: test-dispatch use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 08 Mar 2016 20:57:15 +0000 |
parents | d2e154dddb6e |
children | 1d9d29d4813a |
files | tests/test-check-py3-compat.t tests/test-dispatch.py |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Wed Mar 02 05:27:07 2016 +0000 +++ b/tests/test-check-py3-compat.t Tue Mar 08 20:57:15 2016 +0000 @@ -92,7 +92,6 @@ tests/test-context.py requires print_function tests/test-demandimport.py not using absolute_import tests/test-demandimport.py requires print_function - tests/test-dispatch.py not using absolute_import tests/test-dispatch.py requires print_function tests/test-doctest.py not using absolute_import tests/test-duplicateoptions.py not using absolute_import
--- a/tests/test-dispatch.py Wed Mar 02 05:27:07 2016 +0000 +++ b/tests/test-dispatch.py Tue Mar 08 20:57:15 2016 +0000 @@ -1,5 +1,8 @@ +from __future__ import absolute_import import os -from mercurial import dispatch +from mercurial import ( + dispatch, +) def testdispatch(cmd): """Simple wrapper around dispatch.dispatch()