Ticket #3253: test_errors.diff

File test_errors.diff, 345 bytes (added by paulegan@…, 8 years ago)

Return value should count errors as well as failures

  • django/test/simple.py

    old new  
    8484   
    8585    teardown_test_environment()
    8686   
    87     return len(result.failures)
     87    return len(result.failures) + len(result.errors)
     88   
Back to Top