Patchwork [6,of,9] test-filelog: alias ui as uimod

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

Comments

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

Patch

diff --git a/tests/test-filelog.py b/tests/test-filelog.py
--- a/tests/test-filelog.py
+++ b/tests/test-filelog.py
@@ -5,14 +5,14 @@  Tests the behavior of filelog w.r.t. dat
 from __future__ import absolute_import, print_function
 from mercurial import (
     hg,
-    ui,
+    ui as uimod,
 )
 from mercurial.node import (
     hex,
     nullid,
 )
 
-myui = ui.ui()
+myui = uimod.ui()
 repo = hg.repository(myui, path='.', create=True)
 
 fl = repo.file('foobar')