test-filelog: alias ui as uimod
authorYuya Nishihara <yuya@tcha.org>
Tue, 05 Apr 2016 23:17:43 +0900
changeset 28805 efc739551c17
parent 28804 ce49c8d4f0bb
child 28806 d26c4af27978
test-filelog: alias ui as uimod
tests/test-filelog.py
--- a/tests/test-filelog.py	Tue Apr 05 23:17:05 2016 +0900
+++ b/tests/test-filelog.py	Tue Apr 05 23:17:43 2016 +0900
@@ -5,14 +5,14 @@
 from __future__ import absolute_import, print_function
 from mercurial import (
     hg,
-    ui,
+    ui as uimod,
 )
 from mercurial.node import (
     hex,
     nullid,
 )
 
-myui = ui.ui()
+myui = uimod.ui()
 repo = hg.repository(myui, path='.', create=True)
 
 fl = repo.file('foobar')