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

Function test_toPrimitive_stdin

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

Source from the content-addressed store, hash-verified

164
165
166def test_toPrimitive_stdin():
167 toPrimitive = pm.eval("(obj) => { return obj[Symbol.toPrimitive]; }")(sys.stdin)
168 assert repr(toPrimitive).__contains__("<pythonmonkey.JSFunctionProxy object at")
169
170
171def test_constructor_stdin():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected