Browse Source

Merge pull request #3998 from ThomasWaldmann/py37

remove loggerDict.clear() from tearDown method, fixes #3805
TW 6 years ago
parent
commit
eb6481e8d3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/borg/testsuite/archiver.py

+ 0 - 2
src/borg/testsuite/archiver.py

@@ -278,8 +278,6 @@ class ArchiverTestCaseBase(BaseTestCase):
         os.chdir(self._old_wd)
         # note: ignore_errors=True as workaround for issue #862
         shutil.rmtree(self.tmpdir, ignore_errors=True)
-        # destroy logging configuration
-        logging.Logger.manager.loggerDict.clear()
         setup_logging()
 
     def cmd(self, *args, **kw):