Home | History | Annotate | Download | only in test

Lines Matching full:rmtree

52             shutil.rmtree(d, os.name in ('nt', 'cygwin'))
79 self.assertRaises(OSError, shutil.rmtree, filename)
97 shutil.rmtree(TESTFN, onerror=self.check_args_to_onerror)
107 shutil.rmtree(TESTFN)
110 # test_rmtree_errors deliberately runs rmtree
112 # This function is run when shutil.rmtree fails.
139 self.assertRaises(OSError, shutil.rmtree, path)
185 shutil.rmtree(path)
228 shutil.rmtree(dst_dir)
238 shutil.rmtree(dst_dir)
263 shutil.rmtree(dst_dir)
265 shutil.rmtree(src_dir)
266 shutil.rmtree(os.path.dirname(dst_dir))
295 shutil.rmtree(TESTFN)
307 self.assertRaises(OSError, shutil.rmtree, dst)
309 shutil.rmtree(TESTFN, ignore_errors=True)
340 shutil.rmtree(TESTFN, ignore_errors=True)
341 shutil.rmtree(TESTFN2, ignore_errors=True)
623 shutil.rmtree(d)
672 shutil.rmtree(dst_dir)
686 shutil.rmtree(dst_dir)
724 shutil.rmtree(TESTFN, ignore_errors=True)
736 shutil.rmtree(TESTFN, ignore_errors=True)