Patchwork D6191: tests: rename "u" to more usual "ui" in test-context.py

login
register
mail settings
Submitter phabricator
Date April 3, 2019, 11:08 p.m.
Message ID <2a6ae0c827b9e4158bff242dfeb70ec2@localhost.localdomain>
Download mbox | patch
Permalink /patch/39467/
State Not Applicable
Headers show

Comments

phabricator - April 3, 2019, 11:08 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4950ae4d034f: tests: rename &quot;u&quot; to more usual &quot;ui&quot; in test-context.py (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6191?vs=14641&id=14648

REVISION DETAIL
  https://phab.mercurial-scm.org/D6191

AFFECTED FILES
  tests/test-context.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-context.py b/tests/test-context.py
--- a/tests/test-context.py
+++ b/tests/test-context.py
@@ -27,9 +27,9 @@ 
     out.write(data + end)
     out.flush()
 
-u = uimod.ui.load()
+ui = uimod.ui.load()
 
-repo = hg.repository(u, b'test1', create=1)
+repo = hg.repository(ui, b'test1', create=1)
 os.chdir('test1')
 
 # create 'foo' with fixed time stamp
@@ -172,7 +172,7 @@ 
 # test manifestlog being changed
 print('== commit with manifestlog invalidated')
 
-repo = hg.repository(u, b'test2', create=1)
+repo = hg.repository(ui, b'test2', create=1)
 os.chdir('test2')
 
 # make some commits