MCPcopy Index your code
hub / github.com/python-websockets/websockets / temp_unix_socket_path

Function temp_unix_socket_path

tests/utils.py:123–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122@contextlib.contextmanager
123def temp_unix_socket_path():
124 with tempfile.TemporaryDirectory() as temp_dir:
125 yield str(pathlib.Path(temp_dir) / "websockets")

Calls

no outgoing calls

Tested by 15

test_connectionMethod · 0.68
test_set_host_headerMethod · 0.68
test_connectionMethod · 0.68
test_connectionMethod · 0.68
test_unix_socketMethod · 0.68
test_unix_serverMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…