changeset 42056:4950ae4d034f

tests: rename "u" to more usual "ui" in test-context.py Differential Revision: https://phab.mercurial-scm.org/D6191
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 19 Jul 2017 13:17:49 -0700
parents b9e5f3853a97
children 566daffc607d
files tests/test-context.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-context.py	Wed Apr 03 09:38:08 2019 -0700
+++ b/tests/test-context.py	Wed Jul 19 13:17:49 2017 -0700
@@ -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