https://github.com/python/cpython/commit/4fc4e3a5ac30ba4bccdcc7f475ef43a40d904b74 commit: 4fc4e3a5ac30ba4bccdcc7f475ef43a40d904b74 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: vstinner <[email protected]> date: 2026-06-08T17:23:44Z summary:
[3.14] gh-151019: Fix test_os on 32-bit FreeBSD (GH-151087) (#151094) gh-151019: Fix test_os on 32-bit FreeBSD (GH-151087) Remove references to server.handler_instance. This attribute has been removed in 2022 by commit 3ae975f1ac880c47d51cca6c9e305547bd365be7. (cherry picked from commit a9002349cbe3f2243fe53a9fcadd02318dd0caf9) Co-authored-by: Victor Stinner <[email protected]> files: M Lib/test/test_os.py diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 555c85f4857c2d7..f4953ef4faed35e 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -4042,7 +4042,6 @@ async def test_trailers(self): @requires_headers_trailers @requires_32b async def test_headers_overflow_32bits(self): - self.server.handler_instance.accumulate = False with self.assertRaises(OSError) as cm: await self.async_sendfile(self.sockno, self.fileno, 0, 0, headers=[b"x" * 2**16] * 2**15) @@ -4051,7 +4050,6 @@ async def test_headers_overflow_32bits(self): @requires_headers_trailers @requires_32b async def test_trailers_overflow_32bits(self): - self.server.handler_instance.accumulate = False with self.assertRaises(OSError) as cm: await self.async_sendfile(self.sockno, self.fileno, 0, 0, trailers=[b"x" * 2**16] * 2**15) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
