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

Function test_join_with_sep

tests/python/test_arrays.py:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123
124
125def test_join_with_sep():
126 items = [1, 2, 3]
127 result = [None]
128 pm.eval("(result, arr) => {result[0] = arr.join('-')}")(result, items)
129 assert result[0] == '1-2-3'
130
131
132def test_join_none():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected