Skip to content

Commit 2d322c4

Browse files
[3.13] gh-151019: Fix test_os on 32-bit FreeBSD (GH-151087) (#151095)
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 4e2285c commit 2d322c4

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
@@ -3876,7 +3876,6 @@ async def test_trailers(self):
38763876
@requires_headers_trailers
38773877
@requires_32b
38783878
async def test_headers_overflow_32bits(self):
3879-
self.server.handler_instance.accumulate = False
38803879
with self.assertRaises(OSError) as cm:
38813880
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
38823881
headers=[b"x" * 2**16] * 2**15)
@@ -3885,7 +3884,6 @@ async def test_headers_overflow_32bits(self):
38853884
@requires_headers_trailers
38863885
@requires_32b
38873886
async def test_trailers_overflow_32bits(self):
3888-
self.server.handler_instance.accumulate = False
38893887
with self.assertRaises(OSError) as cm:
38903888
await self.async_sendfile(self.sockno, self.fileno, 0, 0,
38913889
trailers=[b"x" * 2**16] * 2**15)

0 commit comments

Comments
 (0)