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

Method race

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

Source from the content-addressed store, hash-verified

1394 ctx = ssl.create_default_context()
1395
1396 def race():
1397 ctx.load_cert_chain(CERTFILE)
1398
1399 threads = [threading.Thread(target=race) for _ in range(8)]
1400 with threading_helper.catch_threading_exception() as cm:

Callers 1

waitForReadableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected