changeset 28805:efc739551c17

test-filelog: alias ui as uimod
author Yuya Nishihara <yuya@tcha.org>
date Tue, 05 Apr 2016 23:17:43 +0900
parents ce49c8d4f0bb
children d26c4af27978
files tests/test-filelog.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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')