(value)
| 442 | [1, 0, 1.6, "1", "0", "true", {"field": [1]}, None], |
| 443 | ) |
| 444 | def test_json_flatten_wrong_values(value): |
| 445 | input = _json_table( |
| 446 | data=[value], |
| 447 | ) |
| 448 | |
| 449 | input.flatten(pw.this.data) |
| 450 | |
| 451 | with pytest.raises(ValueError, match=r"Pathway can't flatten this Json.*"): |
| 452 | run_all() |
| 453 | |
| 454 | |
| 455 | def test_json_udf_array_getitem(): |
nothing calls this directly
no test coverage detected