()
| 160 | |
| 161 | |
| 162 | def test_compute_and_print(): |
| 163 | @pw.udf |
| 164 | def create_simple(a: int) -> pw.PyObjectWrapper[Simple]: |
| 165 | return pw.PyObjectWrapper(Simple(a)) |
| 166 | |
| 167 | t = pw.debug.table_from_markdown( |
| 168 | """ |
| 169 | a |
| 170 | 1 |
| 171 | 2 |
| 172 | 2 |
| 173 | 3 |
| 174 | 1 |
| 175 | """ |
| 176 | ).with_columns(simple=create_simple(pw.this.a)) |
| 177 | |
| 178 | pw.debug.compute_and_print(t) |
| 179 | |
| 180 | |
| 181 | @dataclass |
nothing calls this directly
no test coverage detected