Index: pool.py =================================================================== --- pool.py (revision 78245) +++ pool.py (working copy) @@ -169,6 +169,8 @@ w.name = w.name.replace('Process', 'PoolWorker') w.daemon = True w.start() + # This 'fixes' the issue. Not meant as a real fix: + time.sleep(0.1) debug('added worker') def _maintain_pool(self): Index: process.py =================================================================== --- process.py (revision 78245) +++ process.py (working copy) @@ -178,8 +178,10 @@ @property def ident(self): + # This is the problem. The test tries to use the pid when the process + # has not started yet. ''' - Return indentifier (PID) of process or `None` if it has yet to start + Return identifier (PID) of process or `None` if it has yet to start ''' if self is _current_process: return os.getpid()