changeset 28774:21a507f9a6cd

tests: alias ui as uimod in test-ancestor
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Apr 2016 19:48:47 +0900
parents 0023a6e1328f
children 67bff672ccc2
files tests/test-ancestor.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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