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

Method _acquire

tests/test_fork_coordination.py:208–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206) -> None:
207 class AuditedLock(BaseFileLock):
208 def _acquire(self) -> None:
209 self._context.lock_file_fd = None
210 if event == "_posixsubprocess.fork_exec":
211 sys.audit(event, (), (), None)
212 else:
213 sys.audit(event)
214
215 _release = _acquire
216

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected