[pypy-svn] r59541 - pypy/trunk/lib-python/modified-2.5.2/test

arigo at codespeak.net arigo at codespeak.net
Thu Oct 30 12:23:23 CET 2008


Author: arigo
Date: Thu Oct 30 12:23:23 2008
New Revision: 59541

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
Log:
More gc_collect()s.


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	Thu Oct 30 12:23:23 2008
@@ -2017,6 +2017,7 @@
     r = weakref.ref(c)
     verify(r() is c)
     del c
+    gc_collect()
     verify(r() is None)
     del r
     class NoWeak(object):
@@ -2034,6 +2035,7 @@
     r = weakref.ref(yes)
     verify(r() is yes)
     del yes
+    gc_collect()
     verify(r() is None)
     del r
 



More information about the Pypy-commit mailing list