--- 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')