tests/test-config-env.py
changeset 51703 ca7bde5dbafb
parent 51700 7f0cb9ee0534
--- a/tests/test-config-env.py	Thu Jul 18 12:03:29 2024 +0200
+++ b/tests/test-config-env.py	Thu Jul 18 12:36:12 2024 +0200
@@ -15,6 +15,7 @@
 
 testtmp = encoding.environ[b'TESTTMP']
 
+
 # prepare hgrc files
 def join(name):
     return os.path.join(testtmp, name)
@@ -26,6 +27,7 @@
 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')]
@@ -40,6 +42,7 @@
 rcutil.systemrcpath = systemrcpath
 rcutil.userrcpath = userrcpath
 
+
 # utility to print configs
 def printconfigs(env):
     encoding.environ = env