bpo-42474: add TracebackException comparison tests for non-equal inst…#23522
bpo-42474: add TracebackException comparison tests for non-equal inst…#23522gvanrossum merged 3 commits intopython:masterfrom
Conversation
…ances of this type
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
gvanrossum
left a comment
There was a problem hiding this comment.
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