MCPcopy
hub / github.com/encode/starlette / test_collapsing_task_group_one_exc

Function test_collapsing_task_group_one_exc

tests/test__utils.py:112–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111@pytest.mark.anyio
112async def test_collapsing_task_group_one_exc() -> None:
113 class MyException(Exception):
114 pass
115
116 with pytest.raises(MyException):
117 async with create_collapsing_task_group():
118 raise MyException
119
120
121@pytest.mark.anyio

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected