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

Function test_constructor_stdin

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

Source from the content-addressed store, hash-verified

169
170
171def test_constructor_stdin():
172 constructor = pm.eval("(obj) => { return obj.constructor; }")(sys.stdin)
173 assert repr(constructor).__contains__("<pythonmonkey.JSFunctionProxy object at")
174
175
176def test_toString_is_prototype_toString():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected