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

Function test_iterator_passthrough

tests/test_sequences_and_iterators.py:267–270  ·  view source on GitHub ↗

#181: iterator passthrough did not compile

()

Source from the content-addressed store, hash-verified

265
266
267def test_iterator_passthrough():
268 """#181: iterator passthrough did not compile"""
269 values = [3, 5, 7, 9, 11, 13, 15]
270 assert list(m.iterator_passthrough(iter(values))) == values
271
272
273def test_iterator_rvp():

Callers

nothing calls this directly

Calls 2

listClass · 0.85
iterFunction · 0.85

Tested by

no test coverage detected