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

Method test_malformed_key

Lib/test/test_ssl.py:741–743  ·  view source on GitHub ↗

Wrapping with a badly formatted key (syntax error)

(self)

Source from the content-addressed store, hash-verified

739 self.bad_cert_test("badcert.pem")
740
741 def test_malformed_key(self):
742 """Wrapping with a badly formatted key (syntax error)"""
743 self.bad_cert_test("badkey.pem")
744
745 def test_server_side(self):
746 # server_hostname doesn't work for server sockets

Callers

nothing calls this directly

Calls 1

bad_cert_testMethod · 0.95

Tested by

no test coverage detected