-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-38320: Clarify that expectedFailure is satisfied by either failur… #22740
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
Conversation
…e or error of the test.
Please add Skip News. |
Thanks @iritkatriel for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
Sorry @iritkatriel and @zooba, I had trouble checking out the |
GH-22782 is a backport of this pull request to the 3.8 branch. |
…e or error of the test. (pythonGH-22740) (cherry picked from commit fa87482) Co-authored-by: Irit Katriel <[email protected]>
Thanks @iritkatriel for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
GH-22783 is a backport of this pull request to the 3.9 branch. |
…e or error of the test. (pythonGH-22740) (cherry picked from commit fa87482) Co-authored-by: Irit Katriel <[email protected]>
…failure or error of the test. (GH-22740) (GH-22783) (cherry picked from commit fa87482) Co-authored-by: Irit Katriel <[email protected]>
…failure or error of the test. (GH-22740) (GH-22782) (cherry picked from commit fa87482) Co-authored-by: Irit Katriel <[email protected]>
…e or error of the test. (pythonGH-22740)
…e or error of the test.
This PR clarifies that a unittest function with the expectedFailure decorator is considered to have passed if the test either fails or errors. The rest of the doc already distinguishes between failure (one of the assert* methods failed) and error (any other exception).
https://bugs.python.org/issue38320