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

Function test_schema

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

Source from the content-addressed store, hash-verified

1005
1006
1007def test_schema(gdb_arrow):
1008 check_heap_repr(gdb_arrow, "schema_empty",
1009 "arrow::Schema with 0 fields")
1010 check_heap_repr(
1011 gdb_arrow, "schema_non_empty",
1012 ('arrow::Schema with 2 fields = {["ints"] = arrow::int8(), '
1013 '["strs"] = arrow::utf8()}'))
1014 check_heap_repr(
1015 gdb_arrow, "schema_with_metadata",
1016 ('arrow::Schema with 2 fields and 2 metadata items = '
1017 '{["ints"] = arrow::int8(), ["strs"] = arrow::utf8()}'))
1018
1019
1020def test_chunked_array(gdb_arrow):

Callers

nothing calls this directly

Calls 1

check_heap_reprFunction · 0.85

Tested by

no test coverage detected