Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r58345:084eca8026f9
Date: 2012-10-21 12:52 +0200
http://bitbucket.org/pypy/pypy/changeset/084eca8026f9/

Log:    One more collect() to fix the test.

diff --git a/lib-python/3.2/test/test_weakref.py 
b/lib-python/3.2/test/test_weakref.py
--- a/lib-python/3.2/test/test_weakref.py
+++ b/lib-python/3.2/test/test_weakref.py
@@ -849,6 +849,7 @@
         del items1, items2
         self.assertEqual(len(dict), self.COUNT)
         del objects[0]
+        gc_collect()
         self.assertEqual(len(dict), self.COUNT - 1,
                      "deleting object did not cause dictionary update")
         del objects, o
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to