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

Class _ForwardingFileLock

tests/core/test_subclass_options.py:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246
247
248class _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
261def test_async_subclass_forwards_kwargs(tmp_path: Path) -> None:

Calls

no outgoing calls