]> granicus.if.org Git - python/commit
Fix ref cycles in TestCase.assertRaises() (#193)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 27 Mar 2017 22:56:28 +0000 (00:56 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2017 22:56:28 +0000 (00:56 +0200)
commitbbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5
tree38bdb93a32d6ad08bba502f3aedda22b60b6c845
parent6003db7db5fec545c01923c198a5fdfca5a91538
Fix ref cycles in TestCase.assertRaises() (#193)

bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
Lib/unittest/case.py
Lib/unittest/test/test_case.py
Misc/NEWS