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

Method noop

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

Source from the content-addressed store, hash-verified

1170 # bpo-37788: Test that a thread which is not joined explicitly
1171 # does not leak. Test written for reference leak checks.
1172 def noop(): pass
1173 with threading_helper.wait_threads_exit():
1174 threading.Thread(target=noop).start()
1175 # Thread.join() is not called

Callers 4

test_noopMethod · 0.45
test_contextMethod · 0.45
test_with_statementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected