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

Function test_toString

tests/python/test_dicts.py:355–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353
354
355def test_toString():
356 items = {'a': 10}
357 result = [0]
358 pm.eval("(result, obj) => {result[0] = obj.toString()}")(result, items)
359 assert result[0] == '[object Object]'
360
361# toLocaleString
362

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected