Skip to content

Commit 0378b31

Browse files
committed
Fixed exit code for pathological tests.
1 parent 1998db8 commit 0378b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pathological_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def run_pathological_test(description, results):
127127
print("Ignoring these allowed failures:")
128128
for x in results['ignored']:
129129
print(x)
130-
if (results['failed'] == 0 and results['errored'] == 0):
130+
if failed == 0 and errored == 0:
131131
exit(0)
132132
else:
133133
exit(1)

0 commit comments

Comments
 (0)