def testRemoveSink(self): logger.removeSink(self.pyLogger) logger.info(self.testMsg) self._assertNoMsg()
def tearDown(self): self.pyLogger.removeHandler(self.hdlr) logger.removeSink(self.pyLogger) self.stream = None self.hdlr = None