Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Distributive-Network/PythonMonkey
/ test_assign
Function
test_assign
tests/python/test_arrays.py:5–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
4
5
def
test_assign():
6
items = [1, 2, 3]
7
pm.eval(
"(arr) => {arr[0] = 42}"
)(items)
8
assert items[0] == 42
9
10
11
def
test_get():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected