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

Method f

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 12

reprFunction · 0.85
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