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

Function pyFunc

tests/python/test_pythonmonkey_eval.py:332–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330def test_unwrap_py_function():
331 # https://github.com/Distributive-Network/PythonMonkey/issues/65
332 def pyFunc():
333 pass
334 unwrappedPyFunc = pm.eval("(wrappedPyFunc) => { return wrappedPyFunc }")(pyFunc)
335 assert unwrappedPyFunc is pyFunc
336

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected