https://github.com/python/cpython/commit/de6d199c1d3eb797c722be3e681831833b55ae30
commit: de6d199c1d3eb797c722be3e681831833b55ae30
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: ambv <luk...@langa.pl>
date: 2025-05-21T17:13:24+02:00
summary:

[3.13] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134429)

(cherry picked from commit 84d5f8d799dbbf86248375b6edbbcf4a022788c4)

Co-authored-by: Cody Maloney <cmalo...@users.noreply.github.com>

files:
M Lib/test/test_bufio.py

diff --git a/Lib/test/test_bufio.py b/Lib/test/test_bufio.py
index dc9a82dc635318..cb9cb4d0bc7e9c 100644
--- a/Lib/test/test_bufio.py
+++ b/Lib/test/test_bufio.py
@@ -28,7 +28,7 @@ def try_one(self, s):
             f.write(b"\n")
             f.write(s)
             f.close()
-            f = open(os_helper.TESTFN, "rb")
+            f = self.open(os_helper.TESTFN, "rb")
             line = f.readline()
             self.assertEqual(line, s + b"\n")
             line = f.readline()

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to