From patchwork Mon Apr 4 15:07:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4,of,9] test-ancestor: alias ui as uimod From: Yuya Nishihara X-Patchwork-Id: 14348 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Tue, 05 Apr 2016 00:07:37 +0900 # HG changeset patch # User Yuya Nishihara # Date 1459680527 -32400 # Sun Apr 03 19:48:47 2016 +0900 # Node ID c042ba9d4d2bac9d1990929b18104f3ed8985814 # Parent 03505fe92076ae26467e324184f29fe118bb561a test-ancestor: alias ui as uimod diff --git a/tests/test-ancestor.py b/tests/test-ancestor.py --- a/tests/test-ancestor.py +++ b/tests/test-ancestor.py @@ -13,7 +13,7 @@ from mercurial import ( ancestor, commands, hg, - ui, + ui as uimod, util, ) @@ -218,7 +218,7 @@ dagtests = [ '+3*3/*2*2/*4*4/*4/2*4/2*2', ] def test_gca(): - u = ui.ui() + u = uimod.ui() for i, dag in enumerate(dagtests): repo = hg.repository(u, 'gca%d' % i, create=1) cl = repo.changelog