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

Method test_malformed_cert

Lib/test/test_ssl.py:737–739  ·  view source on GitHub ↗

Wrapping with a badly formatted certificate (syntax error)

(self)

Source from the content-addressed store, hash-verified

735 self.bad_cert_test("nullcert.pem")
736
737 def test_malformed_cert(self):
738 """Wrapping with a badly formatted certificate (syntax error)"""
739 self.bad_cert_test("badcert.pem")
740
741 def test_malformed_key(self):
742 """Wrapping with a badly formatted key (syntax error)"""

Callers

nothing calls this directly

Calls 1

bad_cert_testMethod · 0.95

Tested by

no test coverage detected