(fs, pathfn)
| 850 | |
| 851 | |
| 852 | def test_delete_dir(fs, pathfn): |
| 853 | skip_fsspec_s3fs(fs) |
| 854 | |
| 855 | d = pathfn('directory/') |
| 856 | nd = pathfn('directory/nested/') |
| 857 | |
| 858 | fs.create_dir(nd) |
| 859 | fs.delete_dir(d) |
| 860 | with pytest.raises(pa.ArrowIOError): |
| 861 | fs.delete_dir(nd) |
| 862 | with pytest.raises(pa.ArrowIOError): |
| 863 | fs.delete_dir(d) |
| 864 | |
| 865 | |
| 866 | def test_delete_dir_with_explicit_subdir(fs, pathfn): |
nothing calls this directly
no test coverage detected