Skip to content

[3.5] bpo-23890: Fix ref cycles in TestCase.assertRaises() (#193) #2228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2017
Merged

[3.5] bpo-23890: Fix ref cycles in TestCase.assertRaises() (#193) #2228

merged 1 commit into from
Jun 15, 2017

Conversation

vstinner
Copy link
Member

bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
(cherry picked from commit bbd3cf8)

bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
(cherry picked from commit bbd3cf8)
@vstinner vstinner changed the title [3.5] Fix ref cycles in TestCase.assertRaises() (#193) [3.5] bpo-23890: Fix ref cycles in TestCase.assertRaises() (#193) Jun 15, 2017
@vstinner vstinner merged commit 3dc573c into python:3.5 Jun 15, 2017
@vstinner vstinner deleted the 3.5 branch June 15, 2017 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants