tests/test-ancestor.py
changeset 28774 21a507f9a6cd
parent 28723 18e738038d78
child 30402 945f8229b30d
--- a/tests/test-ancestor.py	Sun Apr 03 20:11:41 2016 +0900
+++ b/tests/test-ancestor.py	Sun Apr 03 19:48:47 2016 +0900
@@ -13,7 +13,7 @@
     ancestor,
     commands,
     hg,
-    ui,
+    ui as uimod,
     util,
 )
 
@@ -218,7 +218,7 @@
     '+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