MCPcopy Create free account
hub / github.com/apache/arrow / test_copy_file

Function test_copy_file

python/pyarrow/tests/test_fs.py:944–953  ·  view source on GitHub ↗
(fs, pathfn)

Source from the content-addressed store, hash-verified

942
943
944def test_copy_file(fs, pathfn):
945 s = pathfn('test-copy-source-file')
946 t = pathfn('test-copy-target-file')
947
948 with fs.open_output_stream(s):
949 pass
950
951 fs.copy_file(s, t)
952 fs.delete_file(s)
953 fs.delete_file(t)
954
955
956def test_move_directory(fs, pathfn, allow_move_dir):

Callers

nothing calls this directly

Calls 4

pathfnFunction · 0.85
open_output_streamMethod · 0.45
copy_fileMethod · 0.45
delete_fileMethod · 0.45

Tested by

no test coverage detected