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

Method f

Lib/test/test_threading.py:238–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 # The ident still must work for the main thread and dummy threads.
237 self.assertIsNotNone(threading.current_thread().ident)
238 def f():
239 ident.append(threading.current_thread().ident)
240 done.set()
241 done = threading.Event()
242 ident = []
243 with threading_helper.wait_threads_exit():

Callers

nothing calls this directly

Calls 11

assertInMethod · 0.80
assertIsInstanceMethod · 0.80
assertTrueMethod · 0.80
assertNotEqualMethod · 0.80
appendMethod · 0.45
setMethod · 0.45
assertIsMethod · 0.45
getMethod · 0.45
is_aliveMethod · 0.45
releaseMethod · 0.45
acquireMethod · 0.45

Tested by

no test coverage detected