def tearDown(self): self.logger.removeHandler(self.handler) resumeTime() DummySMTP.remove()
def tearDown(self): if self.handler: self.getLogger().removeHandler(self.handler) resumeTime() DummySMTP.remove()