registers a test as failure

        :param test: test to register
        :param err: error the test gave

def addFailure(self, test, err):
        """
        registers a test as failure

        :param test: test to register
        :param err: error the test gave
        """
        super().addFailure(test, err)
        self.test_info(test)
        self._call_test_results('addFailure', test, err)