changeset 28775:67bff672ccc2

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