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:
parent
9b4bf8d799
commit
984bb0a5cd
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue