https://github.com/python/cpython/commit/84d5f8d799dbbf86248375b6edbbcf4a022788c4 commit: 84d5f8d799dbbf86248375b6edbbcf4a022788c4 branch: main author: Cody Maloney <cmalo...@users.noreply.github.com> committer: ambv <luk...@langa.pl> date: 2025-05-21T16:40:50+02:00 summary:
gh-133982: Update test_bufio to use self.open (gh-133983) 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