MCPcopy
hub / github.com/Textualize/textual / test_task

Function test_task

tests/test_rlock.py:40–43  ·  view source on GitHub ↗
(n: int)

Source from the content-addressed store, hash-verified

38 done: list[int] = []
39
40 async def test_task(n: int) -> None:
41 started.append(n)
42 async with lock:
43 done.append(n)
44
45 async with lock:
46 assert done == []

Callers 1

test_multiple_tasksFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…