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

Method test_trivial

python/pyarrow/tests/test_csv.py:1465–1469  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1463 }
1464
1465 def test_trivial(self):
1466 # A bit pointless, but at least it shouldn't crash
1467 rows = b",\n\n"
1468 table = self.read_bytes(rows)
1469 assert table.to_pydict() == {'': []}
1470
1471 def test_empty_lines(self):
1472 rows = b"a,b\n\r1,2\r\n\r\n3,4\r\n"

Callers

nothing calls this directly

Calls 1

read_bytesMethod · 0.95

Tested by

no test coverage detected