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

Method test_handling_other_message

Lib/test/test_remote_pdb.py:271–280  ·  view source on GitHub ↗

Test handling a message payload with an unrecognized type.

(self)

Source from the content-addressed store, hash-verified

269 )
270
271 def test_handling_other_message(self):
272 """Test handling a message payload with an unrecognized type."""
273 incoming = [
274 ("server", {"message": "Some message.\n", "type": "unknown"}),
275 ]
276 self.do_test(
277 incoming=incoming,
278 expected_outgoing=[],
279 expected_stdout="Some message.\n",
280 )
281
282 @unittest.skipIf(sys.flags.optimize >= 2, "Help not available for -OO")
283 @subTests(

Callers

nothing calls this directly

Calls 1

do_testMethod · 0.95

Tested by

no test coverage detected