• Home
  • Raw
  • Download

Lines Matching refs:rmtree

171         self.addCleanup(support.rmtree, d)
184 shutil.rmtree(victim)
193 self.assertRaises(OSError, shutil.rmtree, link)
199 shutil.rmtree(link, onerror=onerror)
222 shutil.rmtree(dir1)
235 self.assertRaises(OSError, shutil.rmtree, link)
241 shutil.rmtree(link, onerror=onerror)
264 shutil.rmtree(dir1)
272 self.assertRaises(FileNotFoundError, shutil.rmtree, filename)
274 shutil.rmtree(filename, ignore_errors=True)
281 shutil.rmtree(filename)
288 shutil.rmtree(filename, ignore_errors=True)
293 shutil.rmtree(filename, onerror=onerror)
312 self.addCleanup(shutil.rmtree, TESTFN)
331 shutil.rmtree(TESTFN, onerror=self.check_args_to_onerror)
375 shutil.rmtree(TESTFN)
386 self.assertTrue(shutil.rmtree.avoids_symlink_attacks)
396 self.assertRaises(Called, shutil.rmtree, d)
401 self.assertFalse(shutil.rmtree.avoids_symlink_attacks)
407 self.assertRaises(NotADirectoryError, shutil.rmtree, path)
419 self.assertRaises(OSError, shutil.rmtree, dst)
420 shutil.rmtree(dst, ignore_errors=True)
422 shutil.rmtree(TESTFN, ignore_errors=True)
433 self.assertRaises(OSError, shutil.rmtree, dst)
434 shutil.rmtree(dst, ignore_errors=True)
436 shutil.rmtree(TESTFN, ignore_errors=True)
444 self.addCleanup(shutil.rmtree, src_dir)
445 self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir))
463 self.addCleanup(shutil.rmtree, src_dir)
464 self.addCleanup(shutil.rmtree, dst_dir)
544 shutil.rmtree(dst_dir)
553 shutil.rmtree(dst_dir)
577 shutil.rmtree(dst_dir)
579 shutil.rmtree(src_dir)
580 shutil.rmtree(os.path.dirname(dst_dir))
629 self.addCleanup(shutil.rmtree, tmp_dir)
637 self.addCleanup(support.rmtree, restrictive_subdir)
658 self.addCleanup(shutil.rmtree, src_dir)
659 self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir))
705 shutil.rmtree(TESTFN, ignore_errors=True)
706 shutil.rmtree(TESTFN2, ignore_errors=True)
766 self.addCleanup(shutil.rmtree, dst_dir, True)
775 self.addCleanup(shutil.rmtree, base_dir, ignore_errors=True)
1184 shutil.rmtree(TESTFN, ignore_errors=True)
1204 shutil.rmtree(TESTFN, ignore_errors=True)
1938 support.rmtree(dst_dir)
1985 support.rmtree(TESTFN)
1997 support.rmtree(TESTFN)