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

Function _block_executor

tests/sqlite/test_async_cancellation.py:63–65  ·  view source on GitHub ↗
(executor_started: threading.Event, release_executor: threading.Event)

Source from the content-addressed store, hash-verified

61
62
63def _block_executor(executor_started: threading.Event, release_executor: threading.Event) -> None:
64 executor_started.set()
65 assert release_executor.wait(timeout=5)
66
67
68@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected