[pypy-svn] r28238 - pypy/dist/lib-python/modified-2.4.1/test

ac at codespeak.net ac at codespeak.net
Sun Jun 4 12:29:01 CEST 2006


Author: ac
Date: Sun Jun  4 12:29:00 2006
New Revision: 28238

Modified:
   pypy/dist/lib-python/modified-2.4.1/test/test_weakref.py
Log:
add yet another missing collect. the rest of test_weakref.py passes :-)


Modified: pypy/dist/lib-python/modified-2.4.1/test/test_weakref.py
==============================================================================
--- pypy/dist/lib-python/modified-2.4.1/test/test_weakref.py	(original)
+++ pypy/dist/lib-python/modified-2.4.1/test/test_weakref.py	Sun Jun  4 12:29:00 2006
@@ -755,6 +755,7 @@
         dict = weakref.WeakValueDictionary()
         self.assertRaises(KeyError, dict.__getitem__, 1)
         dict[2] = C()
+        gc.collect()
         self.assertRaises(KeyError, dict.__getitem__, 2)
 
     def test_weak_keys(self):



More information about the Pypy-commit mailing list