MCPcopy Index your code
hub / github.com/python/cpython / _copy

Method _copy

Lib/test/test_shutil.py:2909–2910  ·  view source on GitHub ↗
(src, dst)

Source from the content-addressed store, hash-verified

2907 def test_move_file_special_function(self):
2908 moved = []
2909 def _copy(src, dst):
2910 moved.append((src, dst))
2911 shutil.move(self.src_file, self.dst_dir, copy_function=_copy)
2912 self.assertEqual(len(moved), 1)
2913

Callers 1

test__copy_to_eachMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected