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

Method worker

Lib/test/test_free_threading/test_code.py:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 results = []
64
65 def worker():
66 idx = RequestCodeExtraIndex(freefunc(0))
67 self.assertGreaterEqual(idx, 0)
68 results.append(idx)
69
70 run_concurrently(worker_func=worker, nthreads=NTHREADS)
71

Callers

nothing calls this directly

Calls 4

assertGreaterEqualMethod · 0.80
assertTrueMethod · 0.80
appendMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected