

def addError(self, test, err):
    exc = err[1]
    if self.__match_exception(exc):
        super(NonrelTestResult, self).addExpectedFailure(test, err)
    else:
        super(NonrelTestResult, self).addError(test, err)

dataset/ETHPy150Open django-nonrel/djangotoolbox/djangotoolbox/test.py NonrelTestResult.addError/original