tests: alias ui as uimod in test-walkrepo
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Apr 2016 20:13:42 +0900
changeset 28777 778d947f222e
parent 28776 5508a277bab2
child 28778 256d90bb12fa
tests: alias ui as uimod in test-walkrepo
tests/test-walkrepo.py
--- a/tests/test-walkrepo.py	Sun Apr 03 19:56:59 2016 +0900
+++ b/tests/test-walkrepo.py	Sun Apr 03 20:13:42 2016 +0900
@@ -5,7 +5,7 @@
 from mercurial import (
     hg,
     scmutil,
-    ui,
+    ui as uimod,
     util,
 )
 
@@ -16,7 +16,7 @@
 walkrepos = scmutil.walkrepos
 checklink = util.checklink
 
-u = ui.ui()
+u = uimod.ui()
 sym = checklink('.')
 
 hg.repository(u, 'top1', create=1)