diff --git a/test/pathological_tests.py b/test/pathological_tests.py index 4d4d38939..41301e921 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -138,12 +138,12 @@ def run_test(inp, regex): p.terminate() p.join() print('[TIMED OUT]') - if allowed_failures[description]: + if description in allowed_failures: ignored += 1 else: errored += 1 elif p.exitcode != 0: - if allowed_failures[description]: + if description in allowed_failures: ignored += 1 else: errored += 1