Skip to content

Commit d62a521

Browse files
authored
GH-46344: [CI][Python] Skip doctest for s3.get_file_info to avoid bucket restrictions (#46345)
### Rationale for this change The doctest jobs are currently failing due to ACCESS DENIED to the bucket listing. ### What changes are included in this PR? Skip the doctest. ### Are these changes tested? Via CI, existing job passes again. ### Are there any user-facing changes? No * GitHub Issue: #46344 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent ef3b0ef commit d62a521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyarrow/_s3fs.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ cdef class S3FileSystem(FileSystem):
270270
>>> s3 = fs.S3FileSystem(region='us-west-2')
271271
>>> s3.get_file_info(fs.FileSelector(
272272
... 'power-analysis-ready-datastore/power_901_constants.zarr/FROCEAN', recursive=True
273-
... ))
273+
... )) # doctest: +SKIP
274274
[<FileInfo for 'power-analysis-ready-datastore/power_901_constants.zarr/FROCEAN/.zarray...
275275
276276
For usage of the methods see examples for :func:`~pyarrow.fs.LocalFileSystem`.

0 commit comments

Comments
 (0)