Skip to content

[Python] s3fs selector count is not asserted #50665

Description

@anxkhn

Describe the bug, including details regarding any error messages, version, and platform.

test_get_file_info_with_selector in python/pyarrow/tests/test_fs.py evaluates len(infos) == 4 without asserting it for recursive listings through the fsspec S3 backend. The comparison result is discarded, so an incorrect result count can pass this branch of the test.

Expected: the s3fs recursive listing count is asserted, as it is for the other filesystem branches.

Actual: the count comparison has no effect.

Component(s)

Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions