()
| 77 | |
| 78 | |
| 79 | def test_pop_empty(): |
| 80 | items = [] |
| 81 | result = [None] |
| 82 | pm.eval("(result, arr) => {result[0] = arr.pop()}")(result, items) |
| 83 | assert items == [] |
| 84 | assert result[0] is None |
| 85 | |
| 86 | |
| 87 | def test_pop_ignore_extra_args(): |
nothing calls this directly
no outgoing calls
no test coverage detected