MCPcopy
hub / github.com/urllib3/urllib3 / test_default

Method test_default

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

Source from the content-addressed store, hash-verified

264 assert r.data == b""
265
266 def test_default(self) -> None:
267 r = HTTPResponse()
268 assert r.data is None
269
270 def test_none(self) -> None:
271 r = HTTPResponse(None) # type: ignore[arg-type]

Callers

nothing calls this directly

Calls 1

HTTPResponseClass · 0.90

Tested by

no test coverage detected