(request, tempdir)
| 358 | |
| 359 | @pytest.fixture |
| 360 | def 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 |
nothing calls this directly
no test coverage detected