(tmp_path: Path)
| 70 | |
| 71 | @pytest.fixture |
| 72 | def sync_locks(tmp_path: Path) -> Generator[tuple[ReadWriteLock, ReadWriteLock]]: |
| 73 | with ( |
| 74 | closing(ReadWriteLock(tmp_path / "a", timeout=30, is_singleton=False)) as holder, |
| 75 | closing(ReadWriteLock(tmp_path / "a", timeout=30, is_singleton=False)) as contender, |
| 76 | ): |
| 77 | yield holder, contender |
nothing calls this directly
no test coverage detected