Skip to content

Commit 0d5d47e

Browse files
authored
Fix parquet tests for pyarrow 20 (#1831)
1 parent 6cc68c7 commit 0d5d47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsspec/tests/test_parquet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_open_parquet_file(
8686
with open(path, "wb") as f:
8787
f.write(b"0" * file_size)
8888

89-
if footer_sample_size == 8:
89+
if footer_sample_size == 8 and columns is not None:
9090
# We know 8 bytes is too small to include
9191
# the footer metadata, so there should NOT
9292
# be a key for the last 8 bytes of the file

0 commit comments

Comments
 (0)