[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

Giampaolo Rodola' report at bugs.python.org
Sat Oct 20 13:41:14 CEST 2012


Giampaolo Rodola' added the comment:

+        self.assertEqual(shutil.rmtree(os.path.join(tmpdir, "tstfile"), 
+                                       ignore_errors=True), None)

I wouldn't use assertEqual as the return value is not meaningful.

----------
nosy: +giampaolo.rodola

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15872>
_______________________________________


More information about the Python-bugs-list mailing list