Skip to content

Commit 56133b5

Browse files
committed
Removed incorrect assertion
1 parent 7d9fc9a commit 56133b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testsuite/summarize_tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ def parse_result_file(fname):
130130
print(tline)
131131
print()
132132

133-
# Second condition handles xml parsing failures
134-
assert totals["Tests"] == totals["Skipped"] + totals["Failures"] + totals["Errors"]
133+
# Consistency check
135134
assert totals["Failures"] + totals["Errors"] == len(totals["Failed tests"])
136135

137136
if totals["Failures"] + totals["Errors"] > 0:

0 commit comments

Comments
 (0)