Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ test_pass_std_vector_pair_int
Function
test_pass_std_vector_pair_int
tests/test_stl.py:486–489 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
484
485
486
def
test_pass_std_vector_pair_int():
487
fn = m.pass_std_vector_pair_int
488
assert fn({1: 2, 3: 4}.items()) == 406
489
assert fn(zip([5, 17], [13, 9])) == 2222
490
491
492
def
test_list_caster_fully_consumes_generator_object():
Callers
nothing calls this directly
Calls
1
items
Method · 0.45
Tested by
no test coverage detected