def tearDown(self): sys.stdout, sys.stderr = self._stdout, self._stderr WithTempDir.tearDown(self)
def tearDown(self): # Reset the global _logger to make sure, it's recreated with appropriate config # when the other tests are run. log._logger = None WithTempDir.tearDown(self)