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

Function test_assign_bad_index

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

Source from the content-addressed store, hash-verified

2558
2559
2560def test_assign_bad_index():
2561 result = []
2562 pm.eval("(result) => {result[0] = 4}")(result)
2563 assert result[0] == 4
2564
2565
2566def test_assign_bad_index_with_existing_next():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected