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

Function test_eval_objects_proxy_set

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

Source from the content-addressed store, hash-verified

53
54
55def test_eval_objects_proxy_set():
56 f = pm.eval("(obj) => { obj.a = 42.0; return;}")
57 pyObj = {}
58 f(pyObj)
59 assert pyObj['a'] == 42.0
60
61
62def test_eval_objects_proxy_keys():

Callers

nothing calls this directly

Calls 1

fFunction · 0.70

Tested by

no test coverage detected