[pypy-commit] pypy stdlib-3.2.5: we need a collect here

pjenvey noreply at buildbot.pypy.org
Thu Apr 3 01:46:23 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: stdlib-3.2.5
Changeset: r70416:ebd9a9125c8c
Date: 2014-04-02 16:45 -0700
http://bitbucket.org/pypy/pypy/changeset/ebd9a9125c8c/

Log:	we need a collect here

diff --git a/lib-python/3/test/test_weakref.py b/lib-python/3/test/test_weakref.py
--- a/lib-python/3/test/test_weakref.py
+++ b/lib-python/3/test/test_weakref.py
@@ -1153,6 +1153,7 @@
         self.assertEqual(dict, ddict)
         with testcontext() as (k, v):
             dict.clear()
+        gc_collect()
         self.assertEqual(len(dict), 0)
 
     def test_weak_keys_destroy_while_iterating(self):


More information about the pypy-commit mailing list