()
| 719 | |
| 720 | @pytest.mark.pandas |
| 721 | def test_min_chunksize(): |
| 722 | data = pd.DataFrame([np.arange(4)], columns=['A', 'B', 'C', 'D']) |
| 723 | table = pa.Table.from_pandas(data.reset_index()) |
| 724 | |
| 725 | buf = io.BytesIO() |
| 726 | _write_table(table, buf, chunk_size=-1) |
| 727 | |
| 728 | buf.seek(0) |
| 729 | result = _read_table(buf) |
| 730 | |
| 731 | assert result.equals(table) |
| 732 | |
| 733 | with pytest.raises(ValueError): |
| 734 | _write_table(table, buf, chunk_size=0) |
| 735 | |
| 736 | |
| 737 | @pytest.mark.pandas |
nothing calls this directly
no test coverage detected