diff tests/test-context.py @ 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 706f4ab710c8
children aec5d8561be2
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')