tests/test-verify-repo-operations.py
changeset 52656 3e84e001b6c1
parent 52643 5cc8deb96b48
--- a/tests/test-verify-repo-operations.py	Mon Jan 06 01:44:46 2025 -0500
+++ b/tests/test-verify-repo-operations.py	Tue Jan 07 17:28:46 2025 -0500
@@ -210,7 +210,7 @@
                 stderr=devnull,
             )
             rewriter.communicate("yes")
-            with open(path, 'r') as i:
+            with open(path) as i:
                 ttest = i.read()
 
         e = None
@@ -233,7 +233,7 @@
                                     "",
                                 )
                             o.write(l + os.linesep)
-                    with open(tf, 'r') as r:
+                    with open(tf) as r:
                         t = r.read()
                         assert ext not in t, t
                     output = subprocess.check_output(