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

Method test_no_legacy_server_connect

Lib/test/test_ssl.py:4375–4380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4373 sni_name=hostname)
4374
4375 def test_no_legacy_server_connect(self):
4376 client_context, server_context, hostname = testing_context()
4377 client_context.options &= ~ssl.OP_LEGACY_SERVER_CONNECT
4378 server_params_test(client_context, server_context,
4379 chatty=True, connectionchatty=True,
4380 sni_name=hostname)
4381
4382 def test_dh_params(self):
4383 # Check we can get a connection with ephemeral finite-field

Callers

nothing calls this directly

Calls 2

testing_contextFunction · 0.85
server_params_testFunction · 0.85

Tested by

no test coverage detected