[Python-checkins] cpython (merge 3.2 -> 3.3): merge 3.2

philip.jenvey python-checkins at python.org
Tue Nov 13 21:26:52 CET 2012


http://hg.python.org/cpython/rev/21cc413eb23c
changeset:   80419:21cc413eb23c
branch:      3.3
parent:      80412:59ea4a473e2a
parent:      80418:a580cf4ab940
user:        Philip Jenvey <pjenvey at underboss.org>
date:        Tue Nov 13 12:27:56 2012 -0800
summary:
  merge 3.2

files:
  Lib/test/test_exceptions.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -551,6 +551,7 @@
             e.__context__ = None
             obj = None
             obj = wr()
+            gc_collect()
             self.assertTrue(obj is None, "%s" % obj)
 
         # Some complicated construct
@@ -567,6 +568,7 @@
             except MyException:
                 pass
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 
@@ -581,6 +583,7 @@
         with Context():
             inner_raising_func()
         obj = None
+        gc_collect()
         obj = wr()
         self.assertTrue(obj is None, "%s" % obj)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list