Branch: refs/heads/3.6 Home: https://github.com/python/cpython Commit: 50dbf577e10f806056d60ac956db0748d2cc8257 https://github.com/python/cpython/commit/50dbf577e10f806056d60ac956db0748d2cc8257 Author: Victor Stinner <victor.stinner at gmail.com> Date: 2017年06月16日 (2017年6月16日) Changed paths: M Lib/unittest/case.py M Lib/unittest/test/test_case.py M Misc/NEWS Log Message: ----------- bpo-23890: Fix ref cycle in TestCase.assertRaises (#858) unittest.TestCase.assertRaises() now manually breaks a reference cycle to not keep objects alive longer than expected. (cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5)