MCPcopy
hub / github.com/nonebot/nonebot2 / _shutdown2

Function _shutdown2

tests/test_driver.py:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70 @driver.on_shutdown
71 async def _shutdown2():
72 assert shutdown_log == []
73 shutdown_log.append(2)
74
75 async with driver._lifespan:
76 assert start_log == [1, 2]

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected