()
| 2140 | |
| 2141 | |
| 2142 | def test_flat_depth_zero(): |
| 2143 | items = [0, 1, [2, [3, [4, 5]]]] |
| 2144 | result = [0] |
| 2145 | pm.eval("(result, arr) => {result[0] = arr.flat(0)}")(result, items) |
| 2146 | assert result[0] == [0, 1, [2, [3, [4, 5]]]] |
| 2147 | |
| 2148 | |
| 2149 | def test_flat_depth_one(): |
nothing calls this directly
no outgoing calls
no test coverage detected