# HG changeset patch # User Robert Stanca # Date 2016-04-03 14:10:12 # Node ID 83373fc2b287b3c36b8865f7a5bcfbece27d3bfd # Parent a08c90d622eb86a3eecf96d3b7b16d274922583a py3: use absolute_import in test-filelog.py 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 @@ -56,7 +56,6 @@ tests/test-demandimport.py not using absolute_import tests/test-demandimport.py requires print_function tests/test-doctest.py not using absolute_import - tests/test-filelog.py not using absolute_import tests/test-filelog.py requires print_function tests/test-hg-parseurl.py not using absolute_import tests/test-hg-parseurl.py requires print_function diff --git a/tests/test-filelog.py b/tests/test-filelog.py --- a/tests/test-filelog.py +++ b/tests/test-filelog.py @@ -2,8 +2,15 @@ """ Tests the behavior of filelog w.r.t. data starting with '\1\n' """ -from mercurial import ui, hg -from mercurial.node import nullid, hex +from __future__ import absolute_import +from mercurial import ( + hg, + ui, +) +from mercurial.node import ( + hex, + nullid, +) myui = ui.ui() repo = hg.repository(myui, path='.', create=True)