[pypy-commit] pypy py3k: merge

antocuni noreply at buildbot.pypy.org
Wed Sep 12 16:45:26 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r57298:f80f2a566fdd
Date: 2012-09-12 11:13 +0200
http://bitbucket.org/pypy/pypy/changeset/f80f2a566fdd/

Log:	merge

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
@@ -440,6 +440,7 @@
         except MyException as e:
             pass
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
@@ -451,6 +452,7 @@
         except MyException:
             pass
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
@@ -462,6 +464,7 @@
         except:
             pass
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
@@ -474,6 +477,7 @@
             except:
                 break
         obj = None
+        gc_collect() # XXX it seems it's not enough
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 


More information about the pypy-commit mailing list