()
| 122 | |
| 123 | |
| 124 | def test_json_get_wo_default(): |
| 125 | input = _json_table( |
| 126 | data=[ |
| 127 | {"a": {"b": 1}}, |
| 128 | ] |
| 129 | ) |
| 130 | |
| 131 | with pytest.raises( |
| 132 | TypeError, match=re.escape(rf"Cannot get from {pw.Json | None}.") |
| 133 | ): |
| 134 | input.select(result=pw.this.data.get("a").get("b")) |
| 135 | |
| 136 | |
| 137 | def test_json_dict_get_int_index(): |
nothing calls this directly
no test coverage detected