(self)
| 24 | self._context.lock_file_fd = os.open(self.lock_file, os.O_CREAT | os.O_RDWR, 0o600) |
| 25 | |
| 26 | def _release(self) -> None: # pragma: win32 no cover |
| 27 | os.close(self._context.lock_file_fd if self._context.lock_file_fd is not None else -1) |
| 28 | self._context.lock_file_fd = None |
| 29 | |
| 30 | first = EqualLock(str(tmp_path / "first.lock"), is_singleton=False) |
| 31 | second = EqualLock(str(tmp_path / "second.lock"), is_singleton=False) |
no test coverage detected