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

login
register
mail settings
Submitter Yuya Nishihara
Date April 5, 2016, 4:05 p.m.
Message ID <c9b5a16a9c58d916c75a.1459872313@mimosa>
Download mbox | patch
Permalink /patch/14376/
State Accepted
Headers show

Comments

Yuya Nishihara - April 5, 2016, 4:05 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1459865825 -32400
#      Tue Apr 05 23:17:05 2016 +0900
# Node ID c9b5a16a9c58d916c75a7bbc8906ab9e735445f6
# Parent  5d1939d4c7ddf07c0e21b78217c0745dc4441366
test-duplicateoptions: alias ui as uimod

Patch

diff --git a/tests/test-duplicateoptions.py b/tests/test-duplicateoptions.py
--- a/tests/test-duplicateoptions.py
+++ b/tests/test-duplicateoptions.py
@@ -3,7 +3,7 @@  import os
 from mercurial import (
     commands,
     extensions,
-    ui,
+    ui as uimod,
 )
 
 ignore = set(['highlight', 'win32text', 'factotum'])
@@ -21,7 +21,7 @@  for ext in disabled:
 
 hgrc.close()
 
-u = ui.ui()
+u = uimod.ui()
 extensions.loadall(u)
 
 globalshort = set()