Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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"
)
191
def
test_async_async_callbacks():
192
t = Thread(target=test_async_callbacks)
193
t.start()
194
t.join()
195
196
197
def
test_callback_num_times():
Callers
nothing calls this directly
Calls
2
join
Method · 0.95
Thread
Class · 0.85
Tested by
no test coverage detected