# HG changeset patch # User Augie Fackler # Date 1503428319 14400 # Node ID 403040b5a5bd0a5f267dc49e3530ffc0e793ba50 # Parent 74e53c21fd1392144187ca9981e5e4249504fd86 tests: update test-bisect to pass our module import checker diff -r 74e53c21fd13 -r 403040b5a5bd tests/test-bisect.t --- a/tests/test-bisect.t Tue Aug 22 14:58:21 2017 -0400 +++ b/tests/test-bisect.t Tue Aug 22 14:58:39 2017 -0400 @@ -462,9 +462,10 @@ $ 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