1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-01 04:37:34 +00:00

use ignore_errors=True workaround for test teardown cleanup, see #862

This commit is contained in:
Thomas Waldmann 2016-07-09 23:57:37 +02:00
parent 9b4bf8d799
commit 984bb0a5cd

View file

@ -218,7 +218,8 @@ def setUp(self):
def tearDown(self):
os.chdir(self._old_wd)
shutil.rmtree(self.tmpdir)
# note: ignore_errors=True as workaround for issue #862
shutil.rmtree(self.tmpdir, ignore_errors=True)
def cmd(self, *args, **kw):
exit_code = kw.pop('exit_code', 0)