[PATCH 4 of 9] test-ancestor: alias ui as uimod

Yuya Nishihara yuya at tcha.org
Mon Apr 4 11:07:37 EDT 2016


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# 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


More information about the Mercurial-devel mailing list