MCPcopy Create free account
hub / github.com/apache/arrow / test_datum

Function test_datum

python/pyarrow/tests/test_gdb.py:1145–1163  ·  view source on GitHub ↗
(gdb_arrow)

Source from the content-addressed store, hash-verified

1143
1144
1145def 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 "))

Callers

nothing calls this directly

Calls 1

check_stack_reprFunction · 0.85

Tested by

no test coverage detected