Author: Philip Jenvey <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit