From patchwork Mon Apr 4 15:07:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [7,of,9] test-walkrepo: alias ui as uimod From: Yuya Nishihara X-Patchwork-Id: 14352 Message-Id: <8ee664af1cc683f97610.1459782460@mimosa> To: mercurial-devel@mercurial-scm.org Date: Tue, 05 Apr 2016 00:07:40 +0900 # HG changeset patch # User Yuya Nishihara # Date 1459682022 -32400 # Sun Apr 03 20:13:42 2016 +0900 # Node ID 8ee664af1cc683f97610be6fe1be9eca513929f0 # Parent c06bc6d115136a8876a6036bea42731edb0c96aa test-walkrepo: alias ui as uimod diff --git a/tests/test-walkrepo.py b/tests/test-walkrepo.py --- a/tests/test-walkrepo.py +++ b/tests/test-walkrepo.py @@ -5,7 +5,7 @@ import os from mercurial import ( hg, scmutil, - ui, + ui as uimod, util, ) @@ -16,7 +16,7 @@ pjoin = os.path.join walkrepos = scmutil.walkrepos checklink = util.checklink -u = ui.ui() +u = uimod.ui() sym = checklink('.') hg.repository(u, 'top1', create=1)