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

Function test_open_dataset_from_fsspec

python/pyarrow/tests/test_dataset.py:3065–3072  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

3063
3064@pytest.mark.parquet
3065def test_open_dataset_from_fsspec(tempdir):
3066 table, path = _create_single_file(tempdir)
3067
3068 fsspec = pytest.importorskip("fsspec")
3069
3070 localfs = fsspec.filesystem("file")
3071 dataset = ds.dataset(path, filesystem=localfs)
3072 assert dataset.schema.equals(table.schema)
3073
3074
3075@pytest.mark.parquet

Callers

nothing calls this directly

Calls 3

_create_single_fileFunction · 0.85
filesystemMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected