MCPcopy
hub / github.com/urllib3/urllib3 / test_none

Method test_none

test/test_response.py:270–272  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 assert r.data is None
269
270 def test_none(self) -> None:
271 r = HTTPResponse(None) # type: ignore[arg-type]
272 assert r.data is None
273
274 def test_preload(self) -> None:
275 fp = BytesIO(b"foo")

Callers

nothing calls this directly

Calls 1

HTTPResponseClass · 0.90

Tested by

no test coverage detected