()
| 216 | |
| 217 | |
| 218 | def test_repr_recursion(): |
| 219 | pyArray = pm.eval(""" |
| 220 | () => { |
| 221 | let arr = [1,2]; |
| 222 | arr.push(arr); |
| 223 | return arr; |
| 224 | } |
| 225 | """)() |
| 226 | expected = "[1.0, 2.0, [...]]" |
| 227 | assert repr(pyArray) == expected |
| 228 | assert str(pyArray) == expected |
| 229 | |
| 230 | # concat |
| 231 |
nothing calls this directly
no outgoing calls
no test coverage detected