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

Function test_schema

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

Source from the content-addressed store, hash-verified

1084
1085
1086def test_schema(gdb_arrow):
1087 check_heap_repr(gdb_arrow, "schema_empty",
1088 "arrow::Schema with 0 fields")
1089 check_heap_repr(
1090 gdb_arrow, "schema_non_empty",
1091 ('arrow::Schema with 2 fields = {["ints"] = arrow::int8(), '
1092 '["strs"] = arrow::utf8()}'))
1093 check_heap_repr(
1094 gdb_arrow, "schema_with_metadata",
1095 ('arrow::Schema with 2 fields and 2 metadata items = '
1096 '{["ints"] = arrow::int8(), ["strs"] = arrow::utf8()}'))
1097
1098
1099def test_chunked_array(gdb_arrow):

Callers

nothing calls this directly

Calls 1

check_heap_reprFunction · 0.85

Tested by

no test coverage detected