docs: def addExpectedFailure(self, test: unittest.case.TestCase, err: tuple) -> None:
          """
          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 err: tuple of the form (Exception class, Exception instance, traceback)
          """
          # noinspection PyTypeChecker
          self.add_result(TestState.expected_failure, test, err)