mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
(cherry picked from commit 685cdb9acc)
This commit is contained in:
@@ -2080,6 +2080,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.
|
||||
|
||||
Reference in New Issue
Block a user