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

Function test_identity

tests/python/test_strings.py:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_identity():
8 py_string = "abc"
9 js_string = pm.eval("(str) => str")(py_string)
10 assert py_string is js_string
11
12
13def test_eval_ascii_string_matches_evaluated_string():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected