Mercurial > hg
changeset 28733:2e54aaa65afc
py3: use absolute_import in test-bdiff.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 06:12:18 +0300 |
parents | e2b118592c63 |
children | 4e51f9d1683e |
files | tests/test-bdiff.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bdiff.py Sun Apr 03 06:10:52 2016 +0300 +++ b/tests/test-bdiff.py Sun Apr 03 06:12:18 2016 +0300 @@ -1,5 +1,9 @@ +from __future__ import absolute_import import struct -from mercurial import bdiff, mpatch +from mercurial import ( + bdiff, + mpatch, +) def test1(a, b): d = bdiff.bdiff(a, b)
--- a/tests/test-check-py3-compat.t Sun Apr 03 06:10:52 2016 +0300 +++ b/tests/test-check-py3-compat.t Sun Apr 03 06:12:18 2016 +0300 @@ -53,7 +53,6 @@ tests/svn-safe-append.py not using absolute_import tests/svnxml.py not using absolute_import tests/test-atomictempfile.py not using absolute_import - tests/test-bdiff.py not using absolute_import tests/test-bdiff.py requires print_function tests/test-context.py not using absolute_import tests/test-context.py requires print_function