Commit 2c29b2c9 authored by Kirill Smelkov's avatar Kirill Smelkov

py.test also can generate "errors"

Here is e.g. corresponding summary:

    ===== 12 failed, 14 passed, 4 xfailed, 12 error in 19.58 seconds =====
parent bd91f6f1
......@@ -372,7 +372,7 @@ class PyTest:
stat_set('failure_count', 'failed')
stat_set('expected_failures', 'xfailed')
stat_set('unexpected_successes', 'xpassed')
# don't set error_count - everything goes to failure_count
stat_set('error_count', 'error')
stat['test_count'] += get('passed', 0)
return stat
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment