You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Alert all other multiprocess pool runners that they need to stop executing further tests.
71
-
ifresult.test_resultnotin ['success', 'skipped']:
72
-
ifallowed_failures_counterisnotNone:
73
-
withlock:
74
-
allowed_failures_counter.value-=1
75
69
finally:
76
70
result.elapsed=time.perf_counter() -start_time
77
71
@@ -174,20 +168,22 @@ def run(self, result):
174
168
ifpython_multiprocessing_structures_are_buggy():
175
169
# When multiprocessing shared structures are buggy we don't support failfast
176
170
# or the progress bar.
177
-
allowed_failures_counter=lock=None
171
+
allowed_failures_counter=None
178
172
ifself.max_failures<2**31-1:
179
173
errlog('The version of python being used is not compatible with --failfast and --max-failures options. See https://github.com/python/cpython/issues/71936')
0 commit comments