Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3.3
Changeset: r70603:6296484b2ec6
Date: 2014-04-12 13:07 +0200
http://bitbucket.org/pypy/pypy/changeset/6296484b2ec6/

Log:    Add gc_collect() after del, to prevent deadlock.

diff --git a/lib-python/3/test/test_concurrent_futures.py 
b/lib-python/3/test/test_concurrent_futures.py
--- a/lib-python/3/test/test_concurrent_futures.py
+++ b/lib-python/3/test/test_concurrent_futures.py
@@ -143,6 +143,7 @@
         executor.map(abs, range(-5, 5))
         threads = executor._threads
         del executor
+        test.support.gc_collect()
 
         for t in threads:
             t.join()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to