diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2012-11-13 20:27:56 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2012-11-13 20:27:56 (GMT) |
commit | 000bd4254fa23a9ea3dee356ac747f48c3b0e74f (patch) | |
tree | 1008047365345efb8bbe1eb2921084104755ba03 | |
parent | 2a0e2261314f3202b97ae2fb76b53645a28685cb (diff) | |
parent | 3acc7ef1c5f9eb7cc4a56672ac2ee028c5522b61 (diff) | |
download | cpython-000bd4254fa23a9ea3dee356ac747f48c3b0e74f.zip cpython-000bd4254fa23a9ea3dee356ac747f48c3b0e74f.tar.gz cpython-000bd4254fa23a9ea3dee356ac747f48c3b0e74f.tar.bz2 |
merge 3.2
-rw-r--r-- | 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 index 413f4dd..1d897f2 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -551,6 +551,7 @@ class ExceptionTests(unittest.TestCase): e.__context__ = None obj = None obj = wr() + gc_collect() self.assertTrue(obj is None, "%s" % obj) # Some complicated construct @@ -567,6 +568,7 @@ class ExceptionTests(unittest.TestCase): except MyException: pass obj = None + gc_collect() obj = wr() self.assertTrue(obj is None, "%s" % obj) @@ -581,6 +583,7 @@ class ExceptionTests(unittest.TestCase): with Context(): inner_raising_func() obj = None + gc_collect() obj = wr() self.assertTrue(obj is None, "%s" % obj) |