Skip to content

Commit 4fc4e3a

Browse files
[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 3ae975f. (cherry picked from commit a900234) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent d56f07c commit 4fc4e3a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/test_os.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,7 +4042,6 @@ async def test_trailers(self):
40424042
@requires_headers_trailers
40434043
@requires_32b
40444044
async def test_headers_overflow_32bits(self):
4045-
self.server.handler_instance.accumulate = False
40464045
with self.assertRaises(OSError) as cm:
40474046
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
40484047
headers=[b"x" * 2**16] * 2**15)
@@ -4051,7 +4050,6 @@ async def test_headers_overflow_32bits(self):
40514050
@requires_headers_trailers
40524051
@requires_32b
40534052
async def test_trailers_overflow_32bits(self):
4054-
self.server.handler_instance.accumulate = False
40554053
with self.assertRaises(OSError) as cm:
40564054
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
40574055
trailers=[b"x" * 2**16] * 2**15)

0 commit comments

Comments
 (0)