summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pathological_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
index b86f4c0..613f2e5 100644
--- a/test/pathological_tests.py
+++ b/test/pathological_tests.py
@@ -127,7 +127,7 @@ if ignored > 0:
print("Ignoring these allowed failures:")
for x in results['ignored']:
print(x)
-if (results['failed'] == 0 and results['errored'] == 0):
+if failed == 0 and errored == 0:
exit(0)
else:
exit(1)