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

Method test_refcycle_psk_server_callback

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

Source from the content-addressed store, hash-verified

1877 @support.cpython_only
1878 @unittest.skipUnless(ssl.HAS_PSK, 'requires TLS-PSK')
1879 def test_refcycle_psk_server_callback(self):
1880 # See https://github.com/python/cpython/issues/142516.
1881 ctx = make_test_context(server_side=True)
1882 def psk_server_callback(*args, _=ctx, **kwargs): ...
1883 ctx.set_psk_server_callback(psk_server_callback)
1884
1885
1886class SSLErrorTests(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

make_test_contextFunction · 0.85

Tested by

no test coverage detected