Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ my_handler
Method
my_handler
Lib/test/test_asyncio/test_events.py:566–568 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
564
caught = 0
565
566
def
my_handler():
567
nonlocal caught
568
caught += 1
569
570
# Check error behavior first.
571
self.assertRaises(
Callers
nothing calls this directly
Calls
2
stop
Method · 0.45
assertEqual
Method · 0.45
Tested by
no test coverage detected