Skip to content

Commit a900234

Browse files
authored
gh-151019: Fix test_os on 32-bit FreeBSD (#151087)
Remove references to server.handler_instance. This attribute has been removed in 2022 by commit 3ae975f.
1 parent 11a8bdf commit a900234

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
@@ -3793,7 +3793,6 @@ async def test_trailers(self):
37933793
@requires_headers_trailers
37943794
@requires_32b
37953795
async def test_headers_overflow_32bits(self):
3796-
self.server.handler_instance.accumulate = False
37973796
with self.assertRaises(OSError) as cm:
37983797
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
37993798
headers=[b"x" * 2**16] * 2**15)
@@ -3802,7 +3801,6 @@ async def test_headers_overflow_32bits(self):
38023801
@requires_headers_trailers
38033802
@requires_32b
38043803
async def test_trailers_overflow_32bits(self):
3805-
self.server.handler_instance.accumulate = False
38063804
with self.assertRaises(OSError) as cm:
38073805
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
38083806
trailers=[b"x" * 2**16] * 2**15)

0 commit comments

Comments
 (0)