diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2012-11-13 20:28:39 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2012-11-13 20:28:39 (GMT) |
commit | 65a35dcadd668b122d6235e9b9bd43380c1a098b (patch) | |
tree | 56a37e82008e9cb2bdcb6565df54d61f70cfdc6f /Lib/test/test_exceptions.py | |
parent | ee36c24d15e734cd8c95ef6568f65bf02fa1e71b (diff) | |
parent | 000bd4254fa23a9ea3dee356ac747f48c3b0e74f (diff) | |
download | cpython-65a35dcadd668b122d6235e9b9bd43380c1a098b.zip cpython-65a35dcadd668b122d6235e9b9bd43380c1a098b.tar.gz cpython-65a35dcadd668b122d6235e9b9bd43380c1a098b.tar.bz2 |
merge 3.3
Diffstat (limited to 'Lib/test/test_exceptions.py')
-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 8e5a767..9696462 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) |