You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2023/01/11 15:29:35 UTC

[arrow] branch master updated: GH-15172: [Python] Docstring test failure (#15186)

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new e11ef977ab GH-15172: [Python] Docstring test failure (#15186)
e11ef977ab is described below

commit e11ef977abda7d738e6f7720b721b4300dd2d33e
Author: Alenka Frim <Al...@users.noreply.github.com>
AuthorDate: Wed Jan 11 16:29:28 2023 +0100

    GH-15172: [Python] Docstring test failure (#15186)
    
    
    * Closes: #15172
    
    Authored-by: Alenka Frim <fr...@gmail.com>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 python/pyarrow/_fs.pyx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/pyarrow/_fs.pyx b/python/pyarrow/_fs.pyx
index 9285f8a359..f5d97c7c1d 100644
--- a/python/pyarrow/_fs.pyx
+++ b/python/pyarrow/_fs.pyx
@@ -1235,17 +1235,17 @@ cdef class PyFileSystem(FileSystem):
     Create an fsspec-based filesystem object for GitHub:
 
     >>> from fsspec.implementations import github
-    >>> gfs = github.GithubFileSystem('apache', 'arrow', sha='ec51aec4d15035f4d9d6a1c4346d0a2b9a37fb75')
+    >>> gfs = github.GithubFileSystem('apache', 'arrow') # doctest: +SKIP
 
     Get a PyArrow FileSystem object:
 
     >>> from pyarrow.fs import PyFileSystem, FSSpecHandler
-    >>> pa_fs = PyFileSystem(FSSpecHandler(gfs))
+    >>> pa_fs = PyFileSystem(FSSpecHandler(gfs)) # doctest: +SKIP
 
     Use :func:`~pyarrow.fs.FileSystem` functionality ``get_file_info()``:
 
-    >>> pa_fs.get_file_info('README.md')
-    <FileInfo for 'README.md': type=FileType.File, size=5302>
+    >>> pa_fs.get_file_info('README.md') # doctest: +SKIP
+    <FileInfo for 'README.md': type=FileType.File, size=...>
     """
 
     def __init__(self, handler):