# HG changeset patch # User Robert Stanca # Date 1459652743 -10800 # Node ID f8872b507cd36b9aebd6724a08b07487ada15143 # Parent 73437077753cd1f7f33d57dd50edfc21d1c2b05d py3: use absolute_import in test-batching.py diff -r 73437077753c -r f8872b507cd3 tests/test-batching.py --- a/tests/test-batching.py Sat Apr 02 18:17:23 2016 +0300 +++ b/tests/test-batching.py Sun Apr 03 06:05:43 2016 +0300 @@ -5,8 +5,15 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from mercurial.peer import localbatch, batchable, future -from mercurial.wireproto import remotebatch +from __future__ import absolute_import +from mercurial.peer import ( + localbatch, + batchable, + future, +) +from mercurial.wireproto import ( + remotebatch, +) # equivalent of repo.repository class thing(object): diff -r 73437077753c -r f8872b507cd3 tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Sat Apr 02 18:17:23 2016 +0300 +++ b/tests/test-check-py3-compat.t Sun Apr 03 06:05:43 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-batching.py not using absolute_import tests/test-batching.py requires print_function tests/test-bdiff.py not using absolute_import tests/test-bdiff.py requires print_function