Patchwork [7,of,9] test-walkrepo: alias ui as uimod

login
register
mail settings
Submitter Yuya Nishihara
Date April 4, 2016, 3:07 p.m.
Message ID <8ee664af1cc683f97610.1459782460@mimosa>
Download mbox | patch
Permalink /patch/14352/
State Accepted
Delegated to: Martin von Zweigbergk
Headers show

Comments

Yuya Nishihara - April 4, 2016, 3:07 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1459682022 -32400
#      Sun Apr 03 20:13:42 2016 +0900
# Node ID 8ee664af1cc683f97610be6fe1be9eca513929f0
# Parent  c06bc6d115136a8876a6036bea42731edb0c96aa
test-walkrepo: alias ui as uimod

Patch

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)