MCPcopy
hub / github.com/python-trio/trio / inner

Function inner

src/trio/_core/_tests/test_run.py:1349–1352  ·  view source on GitHub ↗
(exc: BaseException)

Source from the content-addressed store, hash-verified

1347 raise
1348
1349 async def inner(exc: BaseException) -> None:
1350 with suppress(ValueError):
1351 await sleep_forever()
1352 assert not_none(sys.exc_info()[1]) is exc
1353
1354 with pytest.RaisesGroup(
1355 pytest.RaisesExc(KeyError, check=lambda e: e.__context__ is None)

Callers 2

childFunction · 0.70
mainFunction · 0.70

Calls 7

not_noneFunction · 0.85
wait_all_tasks_blockedFunction · 0.85
start_soonMethod · 0.80
spawn_system_taskMethod · 0.80
sleep_foreverFunction · 0.70
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…