tests: alias ui as uimod in test-ancestor
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Apr 2016 19:48:47 +0900
changeset 28774 21a507f9a6cd
parent 28773 0023a6e1328f
child 28775 67bff672ccc2
tests: alias ui as uimod in test-ancestor
tests/test-ancestor.py
--- 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