()
| 74 | |
| 75 | |
| 76 | def test_json_get_none(): |
| 77 | input = _json_table(data=[{}]) |
| 78 | |
| 79 | with pytest.raises( |
| 80 | TypeError, match=re.escape(f"Cannot get from {pw.Json | None}.") |
| 81 | ): |
| 82 | input.select(result=pw.this.data.get("a").get("b")) |
| 83 | |
| 84 | |
| 85 | def test_json_get_default(): |
nothing calls this directly
no test coverage detected