mercurial/crecord.py
changeset 52369 535a1e686d7f
parent 51859 f4733654f144
child 52573 006feec78d52
--- a/mercurial/crecord.py	Wed Dec 04 21:03:05 2024 -0500
+++ b/mercurial/crecord.py	Wed Dec 04 21:05:33 2024 -0500
@@ -15,9 +15,6 @@
 import signal
 
 from .i18n import _
-from .pycompat import (
-    open,
-)
 from . import (
     diffhelper,
     encoding,
@@ -625,7 +622,7 @@
 
     chunkselector.stdscr = dummystdscr()
     if testfn and os.path.exists(testfn):
-        testf = open(testfn, b'r')
+        testf = open(testfn, 'r')
         # TODO: open in binary mode?
         testcommands = [x.rstrip('\n') for x in testf.readlines()]
         testf.close()