MCPcopy Index your code
hub / github.com/python/cpython / call_soon

Method call_soon

Lib/test/test_asyncio/test_tasks.py:2476–2477  ·  view source on GitHub ↗
(callback, *args, **kwargs)

Source from the content-addressed store, hash-verified

2474 @mock.patch('asyncio.base_events.logger')
2475 def test_error_in_call_soon(self, m_log):
2476 def call_soon(callback, *args, **kwargs):
2477 raise ValueError
2478 self.loop.call_soon = call_soon
2479
2480 async def coro():

Callers 15

test_readMethod · 0.45
test_read_eofMethod · 0.45
test_read_until_eofMethod · 0.45
test_readlineMethod · 0.45
test_readline_limitMethod · 0.45
test_readexactlyMethod · 0.45
test_readexactly_eofMethod · 0.45
cancel_waitMethod · 0.45
cancel_make_transportMethod · 0.45
start_serverMethod · 0.45
connection_lostMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected