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

Function test_copyWithin_no_args

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

Source from the content-addressed store, hash-verified

643
644
645def test_copyWithin_no_args():
646 items = [1, 2, 3]
647 result = [None]
648 pm.eval("(result, arr) => {result[0] = arr.copyWithin()}")(result, items)
649 assert items == [1, 2, 3]
650
651
652def test_copyWithin_target_only_overwrite_all():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected