diff --git a/green/process.py b/green/process.py index 7aa3270..873caa0 100644 --- a/green/process.py +++ b/green/process.py @@ -142,7 +142,7 @@ def _repopulate_pool(self): from multiprocessing import util try: from multiprocessing.pool import MaybeEncodingError -except: +except: # pragma: no cover # Python 2.7.4 introduced this class. If we're on Python 2.7.0 to 2.7.3 # then we'll have to define it ourselves. :-/ class MaybeEncodingError(Exception):