MCPcopy Create free account
hub / github.com/tox-dev/filelock / start_context

Function start_context

tests/async_lock/test_executor.py:168–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 raise body_error
167
168 async def start_context() -> None:
169 tasks.put(
170 _CancellationObservedTask(
171 fail_in_context(),
172 cancellation_seen,
173 loop=asyncio.get_running_loop(),
174 )
175 )
176 assert await asyncio.to_thread(release_started.wait, 5)
177
178 asyncio.run(start_context())
179

Callers 1

Calls 2

fail_in_contextFunction · 0.70

Tested by

no test coverage detected