From patchwork Tue Apr 5 16:05:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6,of,9] test-filelog: alias ui as uimod From: Yuya Nishihara X-Patchwork-Id: 14378 Message-Id: <6fa7225a348d27a00477.1459872314@mimosa> To: mercurial-devel@mercurial-scm.org Date: Wed, 06 Apr 2016 01:05:14 +0900 # HG changeset patch # User Yuya Nishihara # Date 1459865863 -32400 # Tue Apr 05 23:17:43 2016 +0900 # Node ID 6fa7225a348d27a0047779cee2c55f24435788c8 # Parent c9b5a16a9c58d916c75a7bbc8906ab9e735445f6 test-filelog: alias ui as uimod 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')