(self)
| 446 | support.check_disallow_instantiation(self, _ssl.Certificate) |
| 447 | |
| 448 | def test_private_init(self): |
| 449 | with self.assertRaisesRegex(TypeError, "public constructor"): |
| 450 | with socket.socket() as s: |
| 451 | ssl.SSLSocket(s) |
| 452 | |
| 453 | def test_str_for_enums(self): |
| 454 | # Make sure that the PROTOCOL_* constants have enum-like string |
nothing calls this directly
no test coverage detected