https://github.com/python/cpython/commit/c612a4d2c067aedc6b8bc3fc694758cd16ec4944 commit: c612a4d2c067aedc6b8bc3fc694758cd16ec4944 branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv <luk...@langa.pl> date: 2025-05-21T17:13:13+02:00 summary:
[3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134428) (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