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

Function test_constructor_iterable

tests/python/test_objects.py:160–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158
159
160def test_constructor_iterable():
161 iterable = iter([1,2])
162 constructor = pm.eval("(obj) => { return obj.constructor; }")(iterable)
163 assert repr(constructor).__contains__("<pythonmonkey.JSFunctionProxy object at")
164
165
166def test_toPrimitive_stdin():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected