MCPcopy Create free account
hub / github.com/apache/arrow / test_filesystem_from_path_object

Function test_filesystem_from_path_object

python/pyarrow/tests/test_fs.py:1721–1725  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1719 ['', '/', 'foo/bar', '/foo/bar', __file__]
1720)
1721def test_filesystem_from_path_object(path):
1722 p = pathlib.Path(path)
1723 fs, path = FileSystem.from_uri(p)
1724 assert isinstance(fs, LocalFileSystem)
1725 assert path == p.resolve().absolute().as_posix()
1726
1727
1728@pytest.mark.s3

Callers

nothing calls this directly

Calls 2

PathMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected