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

Method test_no_newline_at_end

python/pyarrow/tests/test_json.py:172–179  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 assert table.to_pydict() == {'a': [1, 2, 3]}
171
172 def test_no_newline_at_end(self):
173 rows = b'{"a": 1,"b": 2, "c": 3}\n{"a": 4,"b": 5, "c": 6}'
174 table = self.read_bytes(rows)
175 assert table.to_pydict() == {
176 'a': [1, 4],
177 'b': [2, 5],
178 'c': [3, 6],
179 }
180
181 def test_simple_ints(self):
182 # Infer integer columns

Callers

nothing calls this directly

Calls 1

read_bytesMethod · 0.95

Tested by

no test coverage detected