(self)
| 224 | } |
| 225 | |
| 226 | def test_empty_lists(self): |
| 227 | # ARROW-10955: Infer list(null) |
| 228 | rows = b'{"a": []}' |
| 229 | table = self.read_bytes(rows) |
| 230 | schema = pa.schema([('a', pa.list_(pa.null()))]) |
| 231 | assert table.schema == schema |
| 232 | assert table.to_pydict() == {'a': [[]]} |
| 233 | |
| 234 | def test_empty_rows(self): |
| 235 | rows = b'{}\n{}\n' |
nothing calls this directly
no test coverage detected