MCPcopy
hub / github.com/encode/httpx / test_iter_raw_on_async

Function test_iter_raw_on_async

tests/models/test_responses.py:441–448  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439
440
441def test_iter_raw_on_async():
442 response = httpx.Response(
443 200,
444 content=async_streaming_body(),
445 )
446
447 with pytest.raises(RuntimeError):
448 list(response.iter_raw())
449
450
451def test_close_on_async():

Callers

nothing calls this directly

Calls 2

iter_rawMethod · 0.95
async_streaming_bodyFunction · 0.85

Tested by

no test coverage detected