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

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


http://hg.python.org/cpython/rev/5d1646c8708f
changeset:   80420:5d1646c8708f
parent:      80417:ee7b713fec71
parent:      80419:21cc413eb23c
user:        Philip Jenvey <pjenvey at underboss.org>
date:        Tue Nov 13 12:28:39 2012 -0800
summary:
  merge 3.3

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