# HG changeset patch # User Robert Stanca # Date 1459728043 -10800 # Node ID 67a4e42a651f808f6ab285236598caa156e5a1d0 # Parent 2b0d7be90fc466eb95377caebcf9f5564a01f5fa py3: use absolute_import in test-minirst.py diff -r 2b0d7be90fc4 -r 67a4e42a651f tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Mon Apr 04 02:58:53 2016 +0300 +++ b/tests/test-check-py3-compat.t Mon Apr 04 03:00:43 2016 +0300 @@ -60,7 +60,6 @@ tests/test-lrucachedict.py not using absolute_import tests/test-lrucachedict.py requires print_function tests/test-manifest.py not using absolute_import - tests/test-minirst.py not using absolute_import tests/test-minirst.py requires print_function tests/test-parseindex2.py not using absolute_import tests/test-parseindex2.py requires print_function diff -r 2b0d7be90fc4 -r 67a4e42a651f tests/test-minirst.py --- a/tests/test-minirst.py Mon Apr 04 02:58:53 2016 +0300 +++ b/tests/test-minirst.py Mon Apr 04 03:00:43 2016 +0300 @@ -1,5 +1,10 @@ -from pprint import pprint -from mercurial import minirst +from __future__ import absolute_import +from pprint import ( + pprint, +) +from mercurial import ( + minirst, +) def debugformat(text, form, **kwargs): if form == 'html':