registers a test as error

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

def addError(self, test, err):
        """
        registers a test as error

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