diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -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-parseindex2.py not using absolute_import tests/test-parseindex2.py requires print_function tests/test-pathencode.py not using absolute_import tests/test-pathencode.py requires print_function diff --git a/tests/test-parseindex2.py b/tests/test-parseindex2.py --- a/tests/test-parseindex2.py +++ b/tests/test-parseindex2.py @@ -3,8 +3,14 @@ It also checks certain aspects of the parsers module as a whole. """ -from mercurial import parsers -from mercurial.node import nullid, nullrev +from __future__ import absolute_import +from mercurial import ( + parsers, +) +from mercurial.node import ( + nullid, + nullrev, +) import struct import subprocess import sys