MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_async_async_callbacks

Function test_async_async_callbacks

tests/test_callbacks.py:191–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189
190@pytest.mark.skipif(sys.platform.startswith("emscripten"), reason="Requires threads")
191def test_async_async_callbacks():
192 t = Thread(target=test_async_callbacks)
193 t.start()
194 t.join()
195
196
197def test_callback_num_times():

Callers

nothing calls this directly

Calls 2

joinMethod · 0.95
ThreadClass · 0.85

Tested by

no test coverage detected