Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Distributive-Network/PythonMonkey
/ test_copy
Function
test_copy
tests/python/test_lists.py:410–415 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
408
409
410
def
test_copy():
411
a = pm.eval(
"[1,2]"
)
412
b = a.copy()
413
b[0] = 8
414
assert a[0] == 1
415
assert b[0] == 8
416
417
418
def
test_copy_with_arg():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected