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

Method _release

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

Source from the content-addressed store, hash-verified

171 self._context.lock_file_fd = 1
172
173 async def _release(self) -> None: # ty: ignore[invalid-method-override]
174 nonlocal released
175 released = True
176 self._context.lock_file_fd = None
177
178 lock = AioFileLock(str(tmp_path / "a"))
179 await lock.acquire()

Callers 1

test_wrong_platformFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected