[Python-checkins] [python/cpython] 50dbf5: bpo-23890: Fix ref cycle in TestCase.assertRaises ...

GitHub noreply at github.com
Thu Jun 15 18:18:17 EDT 2017


 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)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /