Mercurial > hg
changeset 28943:417380aa5bbe
py3: use absolute_import in mockblackbox.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sat, 16 Apr 2016 05:30:32 +0300 |
parents | 05cb9c6f310e |
children | 036787c10b16 |
files | tests/mockblackbox.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/mockblackbox.py Sat Apr 16 05:29:29 2016 +0300 +++ b/tests/mockblackbox.py Sat Apr 16 05:30:32 2016 +0300 @@ -1,4 +1,7 @@ -from mercurial import util +from __future__ import absolute_import +from mercurial import ( + util, +) def makedate(): return 0, 0
--- a/tests/test-check-py3-compat.t Sat Apr 16 05:29:29 2016 +0300 +++ b/tests/test-check-py3-compat.t Sat Apr 16 05:30:32 2016 +0300 @@ -42,7 +42,6 @@ setup.py not using absolute_import tests/heredoctest.py requires print_function tests/md5sum.py not using absolute_import - tests/mockblackbox.py not using absolute_import tests/printenv.py not using absolute_import tests/readlink.py not using absolute_import tests/readlink.py requires print_function