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

Function test_datum

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

Source from the content-addressed store, hash-verified

1064
1065
1066def test_datum(gdb_arrow):
1067 check_stack_repr(gdb_arrow, "empty_datum", "arrow::Datum (empty)")
1068 check_stack_repr(
1069 gdb_arrow, "scalar_datum",
1070 "arrow::Datum of value arrow::BooleanScalar of null value")
1071 check_stack_repr(
1072 gdb_arrow, "array_datum",
1073 re.compile(r"^arrow::Datum of value arrow::ArrayData of type "))
1074 check_stack_repr(
1075 gdb_arrow, "chunked_array_datum",
1076 re.compile(r"^arrow::Datum of value arrow::ChunkedArray of type "))
1077 check_stack_repr(
1078 gdb_arrow, "batch_datum",
1079 re.compile(r"^arrow::Datum of value arrow::RecordBatch "
1080 r"with 2 columns, 3 rows "))
1081 check_stack_repr(
1082 gdb_arrow, "table_datum",
1083 re.compile(r"^arrow::Datum of value arrow::Table "
1084 r"with 2 columns, 5 rows "))

Callers

nothing calls this directly

Calls 1

check_stack_reprFunction · 0.85

Tested by

no test coverage detected