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

Function test_eval_objects_proxy_has

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

Source from the content-addressed store, hash-verified

72
73
74def test_eval_objects_proxy_has():
75 f = pm.eval("(obj) => { return 'a' in obj }")
76 pyObj = {'a': 42.0}
77 assert (f(pyObj))
78
79
80def test_eval_objects_proxy_not_extensible():

Callers

nothing calls this directly

Calls 1

fFunction · 0.70

Tested by

no test coverage detected