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

Function test_recordbatch_empty_metadata

python/pyarrow/tests/test_table.py:758–765  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

756
757
758def test_recordbatch_empty_metadata():
759 data = [
760 pa.array(range(5)),
761 pa.array([-10, -5, 0, 5, 10])
762 ]
763
764 batch = pa.record_batch(data, ['c0', 'c1'])
765 assert batch.schema.metadata is None
766
767
768def test_recordbatch_pickle(pickle_module):

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected