Skip to content

Commit 199751e

Browse files
[3.15] gh-151019: Fix test_os on 32-bit FreeBSD (GH-151087) (#151093)
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 86e291e commit 199751e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/test_os/test_os.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3789,7 +3789,6 @@ async def test_trailers(self):
37893789
@requires_headers_trailers
37903790
@requires_32b
37913791
async def test_headers_overflow_32bits(self):
3792-
self.server.handler_instance.accumulate = False
37933792
with self.assertRaises(OSError) as cm:
37943793
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
37953794
headers=[b"x" * 2**16] * 2**15)
@@ -3798,7 +3797,6 @@ async def test_headers_overflow_32bits(self):
37983797
@requires_headers_trailers
37993798
@requires_32b
38003799
async def test_trailers_overflow_32bits(self):
3801-
self.server.handler_instance.accumulate = False
38023800
with self.assertRaises(OSError) as cm:
38033801
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
38043802
trailers=[b"x" * 2**16] * 2**15)

0 commit comments

Comments
 (0)