Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ third
Function
third
tests/async_lock/test_transitions.py:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
entered = asyncio.Event()
98
99
async
def
third() -> None:
100
async
with
gate.hold():
101
entered.set()
102
103
await asyncio.wait_for(third(), timeout=1)
104
assert entered.is_set()
Callers
2
test_hold_canceled_while_waiting_takes_its_ticket_out
Function · 0.85
test_hold_interrupted_while_waiting_takes_its_ticket_out
Function · 0.85
Calls
1
hold
Method · 0.80
Tested by
no test coverage detected