()
| 736 | |
| 737 | @pytest.mark.pandas |
| 738 | def test_min_chunksize(): |
| 739 | data = pd.DataFrame([np.arange(4)], columns=['A', 'B', 'C', 'D']) |
| 740 | table = pa.Table.from_pandas(data.reset_index()) |
| 741 | |
| 742 | buf = io.BytesIO() |
| 743 | _write_table(table, buf, chunk_size=-1) |
| 744 | |
| 745 | buf.seek(0) |
| 746 | result = _read_table(buf) |
| 747 | |
| 748 | assert result.equals(table) |
| 749 | |
| 750 | with pytest.raises(ValueError): |
| 751 | _write_table(table, buf, chunk_size=0) |
| 752 | |
| 753 | |
| 754 | @pytest.mark.pandas |
nothing calls this directly
no test coverage detected