From 4f4686da64fb1d445383d7b35a2c07ea25ee815e Mon Sep 17 00:00:00 2001 From: erichanwang Date: Sun, 9 Aug 2026 16:34:53 -0500 Subject: [PATCH] GH-50665: [Python] Assert s3fs selector result count --- python/pyarrow/tests/test_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/tests/test_fs.py b/python/pyarrow/tests/test_fs.py index 5bf1950c0654..e5caa1c88ddf 100644 --- a/python/pyarrow/tests/test_fs.py +++ b/python/pyarrow/tests/test_fs.py @@ -803,7 +803,7 @@ def test_get_file_info_with_selector(fs, pathfn): infos = fs.get_file_info(selector) if fs.type_name == "py::fsspec+('s3', 's3a')": # s3fs only lists directories if they are not empty - len(infos) == 4 + assert len(infos) == 4 else: assert len(infos) == 5