8000 [3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-… · python/cpython@c612a4d · GitHub
[go: up one dir, main page]

Skip to content

Commit c612a4d

Browse files
[3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134428)
(cherry picked from commit 84d5f8d) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent 2ffc10b commit c612a4d

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)
0