-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
bpo-42474: add TracebackException comparison tests for non-equal inst… #23522
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
…ances of this type
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
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.
Looks like a good fix. Thanks!
Thanks @iritkatriel for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Thanks @iritkatriel for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, @iritkatriel and @gvanrossum, I could not cleanly backport this to |
Sorry @iritkatriel and @gvanrossum, I had trouble checking out the |
…ances (pythonGH-23522) Closes bpo-42474
GH-23557 is a backport of this pull request to the 3.9 branch. |
GH-23558 is a backport of this pull request to the 3.8 branch. |
…ances (pythonGH-23522) Closes bpo-42474
…ances of this type
Currently there are no tests for comparison between non-equal instances of traceback.TracebackException, so changing it's eq to return True instead of self.dict == other.dict would not break any tests.
https://bugs.python.org/issue42474