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

Function py_fsspec_localfs

python/pyarrow/tests/test_fs.py:360–368  ·  view source on GitHub ↗
(request, tempdir)

Source from the content-addressed store, hash-verified

358
359@pytest.fixture
360def py_fsspec_localfs(request, tempdir):
361 fsspec = pytest.importorskip("fsspec")
362 fs = fsspec.filesystem('file')
363 return dict(
364 fs=PyFileSystem(FSSpecHandler(fs)),
365 pathfn=lambda p: (tempdir / p).as_posix(),
366 allow_move_dir=True,
367 allow_append_to_file=True,
368 )
369
370
371@pytest.fixture

Callers

nothing calls this directly

Calls 2

FSSpecHandlerClass · 0.90
filesystemMethod · 0.80

Tested by

no test coverage detected