Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde6d199

Browse files
[3.13]gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134429)
(cherry picked from commit84d5f8d)Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parentbc60b33 commitde6d199

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)

[8]ページ先頭

©2009-2025 Movatter.jp