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

Function test_pyobjects_valueOf

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

Source from the content-addressed store, hash-verified

125
126
127def test_pyobjects_valueOf():
128 class MyClass:
129 def __init__(self):
130 self.a = 42
131
132 o = MyClass()
133 assert o is pm.eval("(obj) => { return obj.valueOf(); }")(o)
134
135
136def test_pyobjects_toString():

Callers

nothing calls this directly

Calls 1

MyClassClass · 0.85

Tested by

no test coverage detected