| 947 | |
| 948 | def test_file_lock_positional_argument(tmp_path: Path) -> None: |
| 949 | class FilePathLock(FileLock): |
| 950 | def __init__(self, file_path: str) -> None: |
| 951 | super().__init__(file_path + ".lock") |
| 952 | |
| 953 | lock_path = tmp_path / "a" |
| 954 | lock = FilePathLock(str(lock_path)) |
no outgoing calls