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

Method check_one_batch

python/pyarrow/tests/test_csv.py:1920–1922  ·  view source on GitHub ↗
(reader, expected)

Source from the content-addressed store, hash-verified

1918
1919 # Memory occupation should not grow with CSV file size
1920 def check_one_batch(reader, expected):
1921 batch = reader.read_next_batch()
1922 assert batch.to_pydict() == expected
1923
1924 rows = b"10,11\n12,13\n14,15\n16,17\n"
1925 read_options = ReadOptions()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected