Patchwork [4,of,9] test-ancestor: alias ui as uimod

login
register
mail settings
Submitter Yuya Nishihara
Date April 4, 2016, 3:07 p.m.
Message ID <c042ba9d4d2bac9d1990.1459782457@mimosa>
Download mbox | patch
Permalink /patch/14348/
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 1459680527 -32400
#      Sun Apr 03 19:48:47 2016 +0900
# Node ID c042ba9d4d2bac9d1990929b18104f3ed8985814
# Parent  03505fe92076ae26467e324184f29fe118bb561a
test-ancestor: alias ui as uimod

Patch

diff --git a/tests/test-ancestor.py b/tests/test-ancestor.py
--- a/tests/test-ancestor.py
+++ b/tests/test-ancestor.py
@@ -13,7 +13,7 @@  from mercurial import (
     ancestor,
     commands,
     hg,
-    ui,
+    ui as uimod,
     util,
 )
 
@@ -218,7 +218,7 @@  dagtests = [
     '+3*3/*2*2/*4*4/*4/2*4/2*2',
 ]
 def test_gca():
-    u = ui.ui()
+    u = uimod.ui()
     for i, dag in enumerate(dagtests):
         repo = hg.repository(u, 'gca%d' % i, create=1)
         cl = repo.changelog