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

Method test_read_command_EOF

Lib/test/test_remote_pdb.py:877–882  ·  view source on GitHub ↗

Test reading EOF command.

(self)

Source from the content-addressed store, hash-verified

875 self.assertEqual(cmd, "help")
876
877 def test_read_command_EOF(self):
878 """Test reading EOF command."""
879 # Simulate socket closure
880 self.pdb._write_failed = True
881 with self.assertRaises(EOFError):
882 self.pdb._read_reply()
883
884 def test_completion(self):
885 """Test handling completion requests."""

Callers

nothing calls this directly

Calls 2

_read_replyMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected