tests: alias ui as uimod in test-context
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Apr 2016 19:52:13 +0900
changeset 28775 67bff672ccc2
parent 28774 21a507f9a6cd
child 28776 5508a277bab2
tests: alias ui as uimod in test-context
tests/test-context.py
--- a/tests/test-context.py	Sun Apr 03 19:48:47 2016 +0900
+++ b/tests/test-context.py	Sun Apr 03 19:52:13 2016 +0900
@@ -4,10 +4,10 @@
     context,
     encoding,
     hg,
-    ui,
+    ui as uimod,
 )
 
-u = ui.ui()
+u = uimod.ui()
 
 repo = hg.repository(u, 'test1', create=1)
 os.chdir('test1')