MCPcopy
hub / github.com/aio-libs/aiohttp / f

Function f

tests/conftest.py:152–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150@pytest.fixture
151def unused_port():
152 def f():
153 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
154 s.bind(('127.0.0.1', 0))
155 return s.getsockname()[1]
156 return f
157
158

Callers 2

goMethod · 0.85
fMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected