jorisvandenbossche commented on code in PR #12797:
URL: https://github.com/apache/arrow/pull/12797#discussion_r842682271
##########
python/pyarrow/tests/parquet/test_dataset.py:
##########
@@ -639,6 +639,21 @@ def test_read_directory_s3fs(s3_example_s3fs,
use_legacy_dataset):
assert result.equals(table)
[email protected]
+@parametrize_legacy_dataset
+def test_read_single_file_list(tempdir, use_legacy_dataset):
+ base_path = str(tempdir)
+ data_path = os.path.join(base_path, 'data.parquet')
Review Comment:
```suggestion
data_path = str(base_path / 'data.parquet')
```
The `tempdir` fixture is a pathlib object, so that allows to write it like
the above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]