()
| 295 | |
| 296 | |
| 297 | def test_slice(): |
| 298 | items = [1, 2, 3] |
| 299 | result = [None] |
| 300 | pm.eval("(result, arr) => {result[0] = arr.slice(1,2)}")(result, items) |
| 301 | assert items == [1, 2, 3] |
| 302 | assert result[0] == [2] |
| 303 | |
| 304 | |
| 305 | def test_slice_copy(): |
nothing calls this directly
no outgoing calls
no test coverage detected