(self)
| 238 | assert table.to_pydict() == {'a': [[]]} |
| 239 | |
| 240 | def test_empty_rows(self): |
| 241 | rows = b'{}\n{}\n' |
| 242 | table = self.read_bytes(rows) |
| 243 | schema = pa.schema([]) |
| 244 | assert table.schema == schema |
| 245 | assert table.num_columns == 0 |
| 246 | assert table.num_rows == 2 |
| 247 | |
| 248 | def test_explicit_schema_decimal(self): |
| 249 | rows = (b'{"a": 1}\n' |
nothing calls this directly
no test coverage detected