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

Function test_text_decoder_empty_cases

tests/test_decoders.py:283–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281
282
283def test_text_decoder_empty_cases():
284 response = httpx.Response(200, content=b"")
285 assert response.text == ""
286
287 response = httpx.Response(200, content=[b""])
288 response.read()
289 assert response.text == ""
290
291
292@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected