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

Method __init__

tests/test_filelock.py:919–920  ·  view source on GitHub ↗
(self, file_path: str)

Source from the content-addressed store, hash-verified

917def test_file_lock_positional_argument(tmp_path: Path) -> None:
918 class FilePathLock(FileLock):
919 def __init__(self, file_path: str) -> None:
920 super().__init__(file_path + ".lock")
921
922 lock_path = tmp_path / "a"
923 lock = FilePathLock(str(lock_path))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected