Commit 2dfe3511 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178)

parent b912f934
......@@ -486,7 +486,7 @@ class Pool(object):
util.debug('result handler got EOFError/OSError -- exiting')
return
if thread._state != "RUN":
if thread._state != RUN:
assert thread._state == TERMINATE, "Thread not in TERMINATE"
util.debug('result handler found thread._state=TERMINATE')
break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment