MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_move_dir

Method test_move_dir

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

Source from the content-addressed store, hash-verified

2760 self.test_move_file_to_dir()
2761
2762 def test_move_dir(self):
2763 # Move a dir to another location on the same filesystem.
2764 dst_dir = tempfile.mktemp(dir=self.mkdtemp())
2765 try:
2766 self._check_move_dir(self.src_dir, dst_dir, dst_dir)
2767 finally:
2768 os_helper.rmtree(dst_dir)
2769
2770 @mock_rename
2771 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