(gdb_arrow)
| 1143 | |
| 1144 | |
| 1145 | def test_datum(gdb_arrow): |
| 1146 | check_stack_repr(gdb_arrow, "empty_datum", "arrow::Datum (empty)") |
| 1147 | check_stack_repr( |
| 1148 | gdb_arrow, "scalar_datum", |
| 1149 | "arrow::Datum of value arrow::BooleanScalar of null value") |
| 1150 | check_stack_repr( |
| 1151 | gdb_arrow, "array_datum", |
| 1152 | re.compile(r"^arrow::Datum of value arrow::ArrayData of type ")) |
| 1153 | check_stack_repr( |
| 1154 | gdb_arrow, "chunked_array_datum", |
| 1155 | re.compile(r"^arrow::Datum of value arrow::ChunkedArray of type ")) |
| 1156 | check_stack_repr( |
| 1157 | gdb_arrow, "batch_datum", |
| 1158 | re.compile(r"^arrow::Datum of value arrow::RecordBatch " |
| 1159 | r"with 2 columns, 3 rows ")) |
| 1160 | check_stack_repr( |
| 1161 | gdb_arrow, "table_datum", |
| 1162 | re.compile(r"^arrow::Datum of value arrow::Table " |
| 1163 | r"with 2 columns, 5 rows ")) |
nothing calls this directly
no test coverage detected