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

Function test_filesystem_from_uri_calling

python/pyarrow/tests/test_fs.py:1700–1714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1698
1699
1700def test_filesystem_from_uri_calling():
1701 # Call using class staticmethod
1702 fs, path = FileSystem.from_uri("file:/")
1703 assert isinstance(fs, LocalFileSystem)
1704 assert path == "/"
1705
1706 # Call using class staticmethod with explicit arguments
1707 fs, path = FileSystem.from_uri(uri="file:/")
1708 assert isinstance(fs, LocalFileSystem)
1709 assert path == "/"
1710
1711 # Call using instance method passthrough
1712 fs, path = LocalFileSystem().from_uri(uri="file:/")
1713 assert isinstance(fs, LocalFileSystem)
1714 assert path == "/"
1715
1716
1717@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

LocalFileSystemClass · 0.85

Tested by

no test coverage detected