(fs, pathfn)
| 833 | |
| 834 | |
| 835 | def test_create_dir(fs, pathfn): |
| 836 | # s3fs fails deleting dir fails if it is empty |
| 837 | # (https://github.com/dask/s3fs/issues/317) |
| 838 | skip_fsspec_s3fs(fs) |
| 839 | d = pathfn('test-directory/') |
| 840 | |
| 841 | with pytest.raises(pa.ArrowIOError): |
| 842 | fs.delete_dir(d) |
| 843 | |
| 844 | fs.create_dir(d) |
| 845 | fs.delete_dir(d) |
| 846 | |
| 847 | d = pathfn('deeply/nested/test-directory/') |
| 848 | fs.create_dir(d, recursive=True) |
| 849 | fs.delete_dir(d) |
| 850 | |
| 851 | |
| 852 | def test_delete_dir(fs, pathfn): |
nothing calls this directly
no test coverage detected