--- a/tests/test-config-env.py Mon Jul 22 16:49:38 2024 +0200
+++ b/tests/test-config-env.py Tue Jul 23 10:02:46 2024 +0200
@@ -15,7 +15,6 @@
testtmp = encoding.environ[b'TESTTMP']
-
# prepare hgrc files
def join(name):
return os.path.join(testtmp, name)
@@ -27,7 +26,6 @@
with open(join(b'userrc'), 'wb') as f:
f.write(b'[ui]\neditor=e1')
-
# replace rcpath functions so they point to the files above
def systemrcpath():
return [join(b'sysrc')]
@@ -42,7 +40,6 @@
rcutil.systemrcpath = systemrcpath
rcutil.userrcpath = userrcpath
-
# utility to print configs
def printconfigs(env):
encoding.environ = env