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

Function py_localfs

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

Source from the content-addressed store, hash-verified

160
161@pytest.fixture
162def py_localfs(request, tempdir):
163 return dict(
164 fs=PyFileSystem(ProxyHandler(LocalFileSystem())),
165 pathfn=lambda p: (tempdir / p).as_posix(),
166 allow_move_dir=True,
167 allow_append_to_file=True,
168 )
169
170
171@pytest.fixture

Callers

nothing calls this directly

Calls 2

ProxyHandlerClass · 0.90
LocalFileSystemClass · 0.85

Tested by

no test coverage detected