(lock_file: str)
| 135 | |
| 136 | |
| 137 | def test_read_lock_custom_timeout(lock_file: str) -> None: |
| 138 | lock = ReadWriteLock(lock_file, is_singleton=False) |
| 139 | with lock.read_lock(timeout=5.0): |
| 140 | assert lock._hold.mode == "read" |
| 141 | |
| 142 | |
| 143 | def test_write_lock_custom_blocking(lock_file: str) -> None: |
nothing calls this directly
no test coverage detected