()
| 2163 | |
| 2164 | |
| 2165 | def test_flat_depth_large(): |
| 2166 | items = [0, 1, [2, [3, [4, 5]]]] |
| 2167 | result = [0] |
| 2168 | pm.eval("(result, arr) => {result[0] = arr.flat(10)}")(result, items) |
| 2169 | assert result[0] == [0, 1, 2, 3, 4, 5] |
| 2170 | |
| 2171 | # flatMap |
| 2172 |
nothing calls this directly
no outgoing calls
no test coverage detected