diff -r cbeb54ec0481 -r d83ca854fa21 tests/test-propertycache.py --- a/tests/test-propertycache.py Wed Nov 30 19:23:04 2016 +0000 +++ b/tests/test-propertycache.py Sat Oct 22 14:35:10 2016 +0900 @@ -46,7 +46,7 @@ # these tests on the real object to detect regression. repopath = os.path.join(os.environ['TESTTMP'], 'repo') assert subprocess.call(['hg', 'init', repopath]) == 0 -ui = uimod.ui() +ui = uimod.ui.load() repo = hg.repository(ui, path=repopath).unfiltered()