Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Using the latest fsspec from upstream git repo (changeset 656be423ef36ac533fd3319850e107c2669cce3d), I get this error when running the tests:
Traceback (most recent call last): File "/home/antoine/arrow/dev/python/pyarrow/tests/test_fs.py", line 778, in test_move_directory fs.move(s, t) File "pyarrow/_fs.pyx", line 519, in pyarrow._fs.FileSystem.move check_status(self.fs.Move(source, destination)) File "pyarrow/_fs.pyx", line 1024, in pyarrow._fs._cb_move handler.move(frombytes(src), frombytes(dest)) File "/home/antoine/arrow/dev/python/pyarrow/fs.py", line 173, in move self.fs.mv(src, dest) File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/fsspec/spec.py", line 743, in mv self.rm(path1, recursive=recursive) File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/fsspec/implementations/local.py", line 108, in rm os.remove(path) IsADirectoryError: [Errno 21] Is a directory: '/tmp/pytest-of-antoine/pytest-0/test_move_directory_PyFileSyst1/source-dir'
Attachments
Issue Links
- links to