mirror of https://github.com/borgbackup/borg.git
Merge pull request #3997 from ThomasWaldmann/py37-1.1
remove loggerDict.clear() from tearDown method, fixes #3805
This commit is contained in:
commit
b951a2ee42
|
@ -279,8 +279,6 @@ class ArchiverTestCaseBase(BaseTestCase):
|
||||||
os.chdir(self._old_wd)
|
os.chdir(self._old_wd)
|
||||||
# note: ignore_errors=True as workaround for issue #862
|
# note: ignore_errors=True as workaround for issue #862
|
||||||
shutil.rmtree(self.tmpdir, ignore_errors=True)
|
shutil.rmtree(self.tmpdir, ignore_errors=True)
|
||||||
# destroy logging configuration
|
|
||||||
logging.Logger.manager.loggerDict.clear()
|
|
||||||
setup_logging()
|
setup_logging()
|
||||||
|
|
||||||
def cmd(self, *args, **kw):
|
def cmd(self, *args, **kw):
|
||||||
|
|
Loading…
Reference in New Issue