def addFailure(self, test, err, capt=None, tbinfo=None):
    '\n        After each test failure, record testcase run information.\n        '
    self.__insert_test_result(constants.State.FAILED, test, err)
    self._result_set = True
After each test failure, record testcase run information.
def addFailure(self, test, err, capt=None, tbinfo=None):
    '\n        \n        '
    self.__insert_test_result(constants.State.FAILED, test, err)
    self._result_set = True