Skip to content

Commit

Permalink
Relax test timing (bpo-29861) to avoid sporadic failures (#1120) (#1472)
Browse files Browse the repository at this point in the history
(cherry picked from commit 685cdb9)
  • Loading branch information
vstinner committed May 5, 2017
1 parent ef4c6ba commit fd6094c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_multiprocessing.py
Expand Up @@ -1290,6 +1290,7 @@ def test_release_task_refs(self):
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.
Expand Down

0 comments on commit fd6094c

Please sign in to comment.