code: def addFailure(self, test: unittest.case.TestCase, exc_info: tuple) -> None:
          
          # noinspection PyTypeChecker
          self.add_result(TestState.failure, test, exc_info)
docs: Transforms the test in a serializable version of it and sends it to a queue for further analysis
  
          :param test: the test to save
          :param exc_info: tuple of the form (Exception class, Exception instance, traceback)