()
| 320 | |
| 321 | |
| 322 | def test_slice_stop_length(): |
| 323 | items = [1, 2, 3] |
| 324 | result = [None] |
| 325 | pm.eval("(result, arr) => {result[0] = arr.slice(1,3)}")(result, items) |
| 326 | assert items == [1, 2, 3] |
| 327 | assert result[0] == [2, 3] |
| 328 | |
| 329 | |
| 330 | def test_slice_stop_beyond_length(): |
nothing calls this directly
no outgoing calls
no test coverage detected