MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / test_iter_reentrance

Function test_iter_reentrance

tests/python/test_arrays.py:2628–2631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2626
2627
2628def test_iter_reentrance():
2629 myit = iter((1, 2))
2630 result = pm.eval("(iter) => iter")(myit)
2631 assert myit is result
2632
2633
2634def test_iter_reentrace_next():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected