()
| 170 | |
| 171 | |
| 172 | def test_push_no_arg(): |
| 173 | items = [1, 2, 3] |
| 174 | result = [None] |
| 175 | pm.eval("(result, arr) => {result[0] = arr.push()}")(result, items) |
| 176 | assert items == [1, 2, 3,] |
| 177 | assert result[0] == 3 |
| 178 | |
| 179 | |
| 180 | def test_push_two_args(): |
nothing calls this directly
no outgoing calls
no test coverage detected