def tearDown(self): Iourt42TestCase.tearDown(self) self.info_patcher.stop() self.warning_patcher.stop() self.error_patcher.stop() self.write_patcher.stop()