| 246 | |
| 247 | |
| 248 | class _ForwardingFileLock(BaseFileLock): |
| 249 | _lifetime_supported = True |
| 250 | |
| 251 | def __init__(self, lock_file: str, **kwargs: Unpack[_FileLockOptions]) -> None: |
| 252 | super().__init__(lock_file, **kwargs) |
| 253 | |
| 254 | def _acquire(self) -> None: |
| 255 | raise NotImplementedError |
| 256 | |
| 257 | def _release(self) -> None: |
| 258 | raise NotImplementedError |
| 259 | |
| 260 | |
| 261 | def test_async_subclass_forwards_kwargs(tmp_path: Path) -> None: |
no outgoing calls