changeset 28777:778d947f222e

tests: alias ui as uimod in test-walkrepo
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Apr 2016 20:13:42 +0900
parents 5508a277bab2
children 256d90bb12fa
files tests/test-walkrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)