MCPcopy Index your code
hub / github.com/RustPython/RustPython / race

Method race

Lib/test/test_ssl.py:1255–1256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1253 ctx = ssl.create_default_context()
1254
1255 def race():
1256 ctx.load_cert_chain(CERTFILE)
1257
1258 threads = [threading.Thread(target=race) for _ in range(8)]
1259 with threading_helper.catch_threading_exception() as cm:

Callers

nothing calls this directly

Calls 1

load_cert_chainMethod · 0.45

Tested by

no test coverage detected