()
| 794 | |
| 795 | @pytest.mark.pandas |
| 796 | def test_zlib_compression_bug(): |
| 797 | # ARROW-3514: "zlib deflate failed, output buffer too small" |
| 798 | table = pa.Table.from_arrays([pa.array(['abc', 'def'])], ['some_col']) |
| 799 | f = io.BytesIO() |
| 800 | pq.write_table(table, f, compression='gzip') |
| 801 | |
| 802 | f.seek(0) |
| 803 | roundtrip = pq.read_table(f) |
| 804 | tm.assert_frame_equal(roundtrip.to_pandas(), table.to_pandas()) |
| 805 | |
| 806 | |
| 807 | def test_parquet_file_too_small(tempdir): |
nothing calls this directly
no test coverage detected