Patchwork [5,of,9] test-context: alias ui as uimod

login
register
mail settings
Submitter Yuya Nishihara
Date April 4, 2016, 3:07 p.m.
Message ID <f1517a67b73d88e5c373.1459782458@mimosa>
Download mbox | patch
Permalink /patch/14350/
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 1459680733 -32400
#      Sun Apr 03 19:52:13 2016 +0900
# Node ID f1517a67b73d88e5c3732b023869352c71677bcb
# Parent  c042ba9d4d2bac9d1990929b18104f3ed8985814
test-context: alias ui as uimod

Patch

diff --git a/tests/test-context.py b/tests/test-context.py
--- a/tests/test-context.py
+++ b/tests/test-context.py
@@ -4,10 +4,10 @@  from mercurial import (
     context,
     encoding,
     hg,
-    ui,
+    ui as uimod,
 )
 
-u = ui.ui()
+u = uimod.ui()
 
 repo = hg.repository(u, 'test1', create=1)
 os.chdir('test1')