()
| 89 | |
| 90 | |
| 91 | def test_table_source(): |
| 92 | with pytest.raises(TypeError): |
| 93 | TableSourceNodeOptions(pa.record_batch([pa.array([1, 2, 3])], ["a"])) |
| 94 | |
| 95 | table_source = TableSourceNodeOptions(None) |
| 96 | decl = Declaration("table_source", table_source) |
| 97 | with pytest.raises( |
| 98 | ValueError, match="TableSourceNode requires table which is not null" |
| 99 | ): |
| 100 | _ = decl.to_table() |
| 101 | |
| 102 | |
| 103 | def test_record_batch_reader_source(): |
nothing calls this directly
no test coverage detected