-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
bpo-34900: Fix subTests to not crash when called from TestCase.debug() #9707
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a NEWS entry. See https://devguide.python.org/committing/#what-s-new-and-news-entries for details.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
3d256b4
to
f2b7b71
Compare
Thanks @berkerpeksag for the quick review. I have made the requested changes; please review again. |
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
f2b7b71
to
eddd087
Compare
@@ -1,2 +1,2 @@ | |||
Fixed ``TestCase.debug()`` when used to call test methods with subtests. | |||
Patch by Bruno Oliveira. | |||
Fixed :meth:`unittest.TestCase.debug` when used to call test methods with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi @berkerpeksag, gentle ping that CLA has been signed. 👍 |
Thanks @nicoddemus for the PR, and @berkerpeksag for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
GH-9818 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit da2bf9f) Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
(cherry picked from commit da2bf9f) Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
GH-9819 is a backport of this pull request to the 3.6 branch. |
Thanks! |
Fixes issue [bpo-34900](https://bugs.python.org/issue34900).
https://bugs.python.org/issue34900