# HG changeset patch # User Augie Fackler # Date 2017-08-22 18:58:39 # Node ID 403040b5a5bd0a5f267dc49e3530ffc0e793ba50 # Parent 74e53c21fd1392144187ca9981e5e4249504fd86 tests: update test-bisect to pass our module import checker diff --git a/tests/test-bisect.t b/tests/test-bisect.t --- a/tests/test-bisect.t +++ b/tests/test-bisect.t @@ -462,9 +462,10 @@ test bisecting command $ cat > script.py < #!$PYTHON + > from __future__ import absolute_import > import sys - > from mercurial import ui, hg - > repo = hg.repository(ui.ui.load(), '.') + > from mercurial import hg, ui as uimod + > repo = hg.repository(uimod.ui.load(), '.') > if repo['.'].rev() < 6: > sys.exit(1) > EOF