(cherry picked from commit 685cdb9acc
)
This commit is contained in:
parent
ef4c6ba169
commit
fd6094cdeb
|
@ -1290,6 +1290,7 @@ class _TestPool(BaseTestCase):
|
|||
self.pool.map(identity, objs)
|
||||
|
||||
del objs
|
||||
time.sleep(DELTA) # let threaded cleanup code run
|
||||
self.assertEqual(set(wr() for wr in refs), {None})
|
||||
# With a process pool, copies of the objects are returned, check
|
||||
# they were released too.
|
||||
|
|
Loading…
Reference in New Issue