Kaydet (Commit) 685cdb9a authored tarafından Antoine Pitrou's avatar Antoine Pitrou Kaydeden (comit) GitHub

Relax test timing (bpo-29861) to avoid sporadic failures (#1120)

üst f9f87f09
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment