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

Method test_refcycle_psk_client_callback

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

Source from the content-addressed store, hash-verified

1869 @support.cpython_only
1870 @unittest.skipUnless(ssl.HAS_PSK, 'requires TLS-PSK')
1871 def test_refcycle_psk_client_callback(self):
1872 # See https://github.com/python/cpython/issues/142516.
1873 ctx = make_test_context()
1874 def psk_client_callback(*args, _=ctx, **kwargs): ...
1875 ctx.set_psk_client_callback(psk_client_callback)
1876
1877 @support.cpython_only
1878 @unittest.skipUnless(ssl.HAS_PSK, 'requires TLS-PSK')

Callers

nothing calls this directly

Calls 1

make_test_contextFunction · 0.85

Tested by

no test coverage detected