def tearDown(self): BasicPySlotCase.tearDown(self) try: self.leap_handler.new_log.disconnect() except Exception: pass