-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-41620: TestCase.run() now always return a TestResult instance #28030
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-41620: TestCase.run() now always return a TestResult instance #28030
Conversation
Previously it returned None if the test class or method was decorated with a skipping decorator.
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.
LGTM. Would be nice to include Iman as co-author.
|
Thanks @serhiy-storchaka for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
…thonGH-28030) Previously it returned None if the test class or method was decorated with a skipping decorator. Co-authored-by: Iman Tabrizian <[email protected]> (cherry picked from commit 7e246a3) Co-authored-by: Serhiy Storchaka <[email protected]>
|
GH-28064 is a backport of this pull request to the 3.10 branch. |
|
GH-28065 is a backport of this pull request to the 3.9 branch. |
|
I credited Iman in the commit message. |
…thonGH-28030) Previously it returned None if the test class or method was decorated with a skipping decorator. Co-authored-by: Iman Tabrizian <[email protected]> (cherry picked from commit 7e246a3) Co-authored-by: Serhiy Storchaka <[email protected]>
…-28030) (GH-28065) Previously it returned None if the test class or method was decorated with a skipping decorator. Co-authored-by: Iman Tabrizian <[email protected]> (cherry picked from commit 7e246a3) Co-authored-by: Serhiy Storchaka <[email protected]>
…-28030) Previously it returned None if the test class or method was decorated with a skipping decorator. Co-authored-by: Iman Tabrizian <[email protected]> (cherry picked from commit 7e246a3) Co-authored-by: Serhiy Storchaka <[email protected]>
Previously it returned None if the test class or method was
decorated with a skipping decorator.
https://bugs.python.org/issue41620