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

Function t_1

tests/test_filelock.py:268–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 # acquired the lock, thread group 2 must not hold their lock.
267
268 def t_1() -> None:
269 for _ in range(1000):
270 with lock_1:
271 assert lock_1.is_locked
272 assert not lock_2.is_locked
273
274 def t_2() -> None:
275 for _ in range(1000):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected