[Python] s3fs selector count is not asserted
Open
Component: Python
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.