MCPcopy Index your code
hub / github.com/RustPython/RustPython / handle_echo

Method handle_echo

Lib/test/test_asyncio/test_streams.py:1187–1188  ·  view source on GitHub ↗
(reader, writer)

Source from the content-addressed store, hash-verified

1185
1186 def test_unhandled_exception(self):
1187 async def handle_echo(reader, writer):
1188 raise Exception('test')
1189 messages = self._basetest_unhandled_exceptions(handle_echo)
1190 self.assertEqual(messages[0]['message'],
1191 'Unhandled exception in client_connected_cb')

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected