Mercurial > hg-stable
changeset 27297:4179d054b3e9
tests: use absolute_import for heredoctest.py
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 22:26:12 -0800 |
parents | 8e86679d8acd |
children | e1f55b50edcb |
files | tests/heredoctest.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/heredoctest.py Sun Dec 06 22:25:41 2015 -0800 +++ b/tests/heredoctest.py Sun Dec 06 22:26:12 2015 -0800 @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import sys globalvars = {}
--- a/tests/test-check-py3-compat.t Sun Dec 06 22:25:41 2015 -0800 +++ b/tests/test-check-py3-compat.t Sun Dec 06 22:26:12 2015 -0800 @@ -146,7 +146,6 @@ tests/filterpyflakes.py requires print_function tests/generate-working-copy-states.py requires print_function tests/get-with-headers.py requires print_function - tests/heredoctest.py not using absolute_import tests/heredoctest.py requires print_function tests/hghave.py not using absolute_import tests/hgweberror.py not using absolute_import