Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r58860:0c9ca5618ae8
Date: 2012-11-13 12:04 -0800
http://bitbucket.org/pypy/pypy/changeset/0c9ca5618ae8/

Log:    add gc_collects

diff --git a/lib-python/3.2/test/test_exceptions.py 
b/lib-python/3.2/test/test_exceptions.py
--- a/lib-python/3.2/test/test_exceptions.py
+++ b/lib-python/3.2/test/test_exceptions.py
@@ -498,6 +498,7 @@
             e.__context__ = None
             obj = None
             obj = wr()
+            gc_collect()
             self.assertTrue(obj is None, "%s" % obj)
 
         # Some complicated construct
@@ -514,6 +515,7 @@
             except MyException:
                 pass
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
@@ -528,6 +530,7 @@
         with Context():
             inner_raising_func()
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to