MCPcopy
hub / github.com/aio-libs/aiohttp / test_waituntil_limit2

Function test_waituntil_limit2

tests/test_parser_buffer.py:194–198  ·  view source on GitHub ↗
(buf)

Source from the content-addressed store, hash-verified

192
193
194def test_waituntil_limit2(buf):
195 p = buf.waituntil(b'\n', 4)
196 next(p)
197 with pytest.raises(errors.LineLimitExceededParserError):
198 p.send(b'12345\n6')
199
200
201def test_waituntil_limit3(buf):

Callers

nothing calls this directly

Calls 2

waituntilMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected