--- a/mercurial/lsprofcalltree.py Mon Dec 21 21:42:14 2015 -0800
+++ b/mercurial/lsprofcalltree.py Mon Dec 21 21:44:15 2015 -0800
@@ -10,6 +10,8 @@
of the GNU General Public License, incorporated herein by reference.
"""
+from __future__ import absolute_import
+
def label(code):
if isinstance(code, str):
return '~' + code # built-in functions ('~' sorts at the end)
--- a/tests/test-check-py3-compat.t Mon Dec 21 21:42:14 2015 -0800
+++ b/tests/test-check-py3-compat.t Mon Dec 21 21:44:15 2015 -0800
@@ -111,7 +111,6 @@
mercurial/keepalive.py requires print_function
mercurial/localrepo.py not using absolute_import
mercurial/lsprof.py requires print_function
- mercurial/lsprofcalltree.py not using absolute_import
mercurial/lsprofcalltree.py requires print_function
mercurial/mail.py requires print_function
setup.py not using absolute_import