Skip to content

Commit 84d5f8d

Browse files
authored
pythongh-133982: Update test_bufio to use self.open (pythongh-133983)
1 parent b529b60 commit 84d5f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_bufio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def try_one(self, s):
2828
f.write(b"\n")
2929
f.write(s)
3030
f.close()
31-
f = open(os_helper.TESTFN, "rb")
31+
f = self.open(os_helper.TESTFN, "rb")
3232
line = f.readline()
3333
self.assertEqual(line, s + b"\n")
3434
line = f.readline()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy