mirror of
https://github.com/python/cpython.git
synced 2026-06-28 03:41:13 +00:00
[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 commit3ae975f1ac. (cherry picked from commita9002349cb) Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
86e291e662
commit
199751ea6a
1 changed files with 0 additions and 2 deletions
|
|
@ -3789,7 +3789,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)
|
||||
|
|
@ -3798,7 +3797,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue