Incorrectly treating TextTestResult.failures and errors as integers rather than list objects.