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

Method test_handling_error_message

Lib/test/test_remote_pdb.py:260–269  ·  view source on GitHub ↗

Test handling a message payload with type='error'.

(self)

Source from the content-addressed store, hash-verified

258 )
259
260 def test_handling_error_message(self):
261 """Test handling a message payload with type='error'."""
262 incoming = [
263 ("server", {"message": "Some message or other.", "type": "error"}),
264 ]
265 self.do_test(
266 incoming=incoming,
267 expected_outgoing=[],
268 expected_stdout="*** Some message or other.\n",
269 )
270
271 def test_handling_other_message(self):
272 """Test handling a message payload with an unrecognized type."""

Callers

nothing calls this directly

Calls 1

do_testMethod · 0.95

Tested by

no test coverage detected