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

Method test_move_dir

Lib/test/test_shutil.py:2788–2794  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2786 self.test_move_file_to_dir()
2787
2788 def test_move_dir(self):
2789 # Move a dir to another location on the same filesystem.
2790 dst_dir = tempfile.mktemp(dir=self.mkdtemp())
2791 try:
2792 self._check_move_dir(self.src_dir, dst_dir, dst_dir)
2793 finally:
2794 os_helper.rmtree(dst_dir)
2795
2796 @mock_rename
2797 def test_move_dir_other_fs(self):

Callers 1

Calls 3

_check_move_dirMethod · 0.95
mktempMethod · 0.80
mkdtempMethod · 0.80

Tested by

no test coverage detected