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

Function worker

tests/async_lock/test_read_write.py:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23@pytest.fixture
24def worker() -> Generator[ThreadPoolExecutor]:
25 with ThreadPoolExecutor(max_workers=1) as executor:
26 yield executor
27
28
29def _sqlite(path: Path, worker: ThreadPoolExecutor) -> tuple[AsyncReadWriteLock, ReadWriteLock]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected