(fs, pathfn)
| 974 | |
| 975 | |
| 976 | def test_move_file(fs, pathfn): |
| 977 | # s3fs moving a file with recursive=True on latest 0.5 version |
| 978 | # (https://github.com/dask/s3fs/issues/394) |
| 979 | skip_fsspec_s3fs(fs) |
| 980 | |
| 981 | # TODO(GH-40025): Stop skipping this test |
| 982 | skip_azure(fs, "Not implemented yet in for Azure. See GH-40025") |
| 983 | |
| 984 | s = pathfn('test-move-source-file') |
| 985 | t = pathfn('test-move-target-file') |
| 986 | |
| 987 | with fs.open_output_stream(s): |
| 988 | pass |
| 989 | |
| 990 | fs.move(s, t) |
| 991 | with pytest.raises(pa.ArrowIOError): |
| 992 | fs.delete_file(s) |
| 993 | fs.delete_file(t) |
| 994 | |
| 995 | |
| 996 | def test_delete_file(fs, pathfn): |
nothing calls this directly
no test coverage detected