tests/test-filecache.py
changeset 28803 76c091f9711e
parent 28802 b16eacf5347c
child 29995 57830bd0e787
--- a/tests/test-filecache.py	Tue Apr 05 23:15:49 2016 +0900
+++ b/tests/test-filecache.py	Tue Apr 05 23:16:16 2016 +0900
@@ -11,7 +11,7 @@
     extensions,
     hg,
     scmutil,
-    ui,
+    ui as uimod,
     util,
 )
 
@@ -141,7 +141,7 @@
 def test_filecache_synced():
     # test old behavior that caused filecached properties to go out of sync
     os.system('hg init && echo a >> a && hg ci -qAm.')
-    repo = hg.repository(ui.ui())
+    repo = hg.repository(uimod.ui())
     # first rollback clears the filecache, but changelog to stays in __dict__
     repo.rollback()
     repo.commit('.')