diff options
-rw-r--r-- | Lib/multiprocessing/pool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index cede9bb..1e26a9b 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -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 |