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

Function t_2

tests/test_filelock.py:274–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 assert not lock_2.is_locked
273
274 def t_2() -> None:
275 for _ in range(1000):
276 with lock_2:
277 assert not lock_1.is_locked
278 assert lock_2.is_locked
279
280 lock_path = tmp_path / "a"
281 lock_1, lock_2 = lock_type(str(lock_path)), lock_type(str(lock_path))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected