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:3070–3077  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

3068
3069@pytest.mark.parquet
3070def test_open_dataset_from_fsspec(tempdir):
3071 table, path = _create_single_file(tempdir)
3072
3073 fsspec = pytest.importorskip("fsspec")
3074
3075 localfs = fsspec.filesystem("file")
3076 dataset = ds.dataset(path, filesystem=localfs)
3077 assert dataset.schema.equals(table.schema)
3078
3079
3080@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