diff options
author | Jakub Stasiak <jakub@stasiak.at> | 2014-10-10 09:41:15 +0100 |
---|---|---|
committer | Jakub Stasiak <jakub@stasiak.at> | 2014-10-11 01:41:30 +0100 |
commit | 93f2a8d06829d1b6e3cc648d3ee6ad0ee9e51a05 (patch) | |
tree | a0ebe56bdda3cb4bd94bd851c74930a9f11b43e7 /tests/parse_results.py | |
parent | 765d7df36d9e20c1ee094dc9efc88bcfcc5ebbe4 (diff) | |
download | eventlet-93f2a8d06829d1b6e3cc648d3ee6ad0ee9e51a05.tar.gz |
Reformat with autopep8
Diffstat (limited to 'tests/parse_results.py')
-rw-r--r-- | tests/parse_results.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parse_results.py b/tests/parse_results.py index 53455d3..18bd5e3 100644 --- a/tests/parse_results.py +++ b/tests/parse_results.py @@ -39,7 +39,8 @@ def parse_unittest_output(s): num = int(re.search('^Ran (\d+) test.*?$', s, re.M).group(1)) ok = re.search('^OK$', s, re.M) error, fail, timeout = 0, 0, 0 - failed_match = re.search(r'^FAILED \((?:failures=(?P<f>\d+))?,? ?(?:errors=(?P<e>\d+))?\)$', s, re.M) + failed_match = re.search( + r'^FAILED \((?:failures=(?P<f>\d+))?,? ?(?:errors=(?P<e>\d+))?\)$', s, re.M) ok_match = re.search('^OK$', s, re.M) if failed_match: assert not ok_match, (ok_match, s) |