Skip to content

Commit df39f3e

Browse files
wip: bait out errors in pathological_tests
1 parent 476f7b4 commit df39f3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pathological_tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ def run_test(inp, regex):
138138
p.terminate()
139139
p.join()
140140
print('[TIMED OUT]')
141-
if allowed_failures[description]:
141+
if description in allowed_failures:
142142
ignored += 1
143143
else:
144144
errored += 1
145145
elif p.exitcode != 0:
146-
if allowed_failures[description]:
146+
if description in allowed_failures:
147147
ignored += 1
148148
else:
149149
errored += 1

0 commit comments

Comments
 (0)