# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1460756441 -19800 # Node ID e3f01188d439034fe4150bf4ef8f59a44c1f9d75 # Parent b9ed5a88710c74e039d3aad3f0f789f4050b8726 tests: make test-lrucachedict use absolute_import diff -r b9ed5a88710c -r e3f01188d439 tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Sat Apr 16 03:08:16 2016 +0530 +++ b/tests/test-check-py3-compat.t Sat Apr 16 03:10:41 2016 +0530 @@ -57,7 +57,6 @@ tests/test-demandimport.py requires print_function tests/test-doctest.py not using absolute_import tests/test-hgwebdir-paths.py not using absolute_import - tests/test-lrucachedict.py not using absolute_import tests/test-lrucachedict.py requires print_function tests/test-trusted.py requires print_function diff -r b9ed5a88710c -r e3f01188d439 tests/test-lrucachedict.py --- a/tests/test-lrucachedict.py Sat Apr 16 03:08:16 2016 +0530 +++ b/tests/test-lrucachedict.py Sat Apr 16 03:10:41 2016 +0530 @@ -1,4 +1,8 @@ -from mercurial import util +from __future__ import absolute_import + +from mercurial import ( + util, +) def printifpresent(d, xs, name='d'): for x in xs: