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

Function _soft

tests/async_lock/test_read_write.py:33–36  ·  view source on GitHub ↗
(  # pragma: needs hard-link
    path: Path, worker: ThreadPoolExecutor
)

Source from the content-addressed store, hash-verified

31
32
33def _soft( # pragma: needs hard-link
34 path: Path, worker: ThreadPoolExecutor
35) -> tuple[AsyncSoftReadWriteLock, SoftReadWriteLock]:
36 return AsyncSoftReadWriteLock(path / "lock", executor=worker), SoftReadWriteLock(path / "lock")
37
38
39_FAMILIES: Final[pytest.MarkDecorator] = pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

SoftReadWriteLockClass · 0.90

Tested by

no test coverage detected