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

Method _release

tests/test_async_filelock.py:170–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

168 self._context.lock_file_fd = 1
169
170 async def _release(self) -> None: # type: ignore[override]
171 nonlocal released
172 released = True
173 self._context.lock_file_fd = None
174
175 lock = AioFileLock(str(tmp_path / "a"))
176 await lock.acquire()

Callers 1

test_wrong_platformFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected