(self)
| 1453 | assert table_with_default.schema.field('b').type == pa.float64() |
| 1454 | |
| 1455 | def test_no_ending_newline(self): |
| 1456 | # No \n after last line |
| 1457 | rows = b"a,b,c\n1,2,3\n4,5,6" |
| 1458 | table = self.read_bytes(rows) |
| 1459 | assert table.to_pydict() == { |
| 1460 | 'a': [1, 4], |
| 1461 | 'b': [2, 5], |
| 1462 | 'c': [3, 6], |
| 1463 | } |
| 1464 | |
| 1465 | def test_trivial(self): |
| 1466 | # A bit pointless, but at least it shouldn't crash |
nothing calls this directly
no test coverage detected