MCPcopy 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
486def 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
492def test_list_caster_fully_consumes_generator_object():

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected