MCPcopy
hub / github.com/urllib3/urllib3 / sock

Function sock

test/test_response.py:200–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199@pytest.fixture
200def sock() -> typing.Generator[socket.socket]:
201 s = socket.socket()
202 yield s
203 s.close()
204
205
206class TestResponse:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected