gh-105522: Correctly handle possible exceptions in Enum creation in test_enum#105523
gh-105522: Correctly handle possible exceptions in Enum creation in test_enum#105523ethanfurman merged 7 commits intopython:mainfrom
Enum creation in test_enum#105523Conversation
…tion handling" This reverts commit 9c3951c.
test_enum by removing extra exception handlingEnum creation in test_enum
|
Here's how a potential exception looks like: And here's how it looks if there are multiple exceptions: |
|
@ethanfurman friendly ping :) |
|
@ethanfurman friendly ping (x2) 😄 |
ethanfurman
left a comment
There was a problem hiding this comment.
One minor change and it looks good!
Lib/test/test_enum.py
Outdated
| )) | ||
| return tests | ||
|
|
||
| def reraise_enum_exceptions(*enum_types_or_exceptions): |
There was a problem hiding this comment.
| def reraise_enum_exceptions(*enum_types_or_exceptions): | |
| def reraise_if_not_enum(*enum_types_or_exceptions): |
|
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 |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @ethanfurman: please review the changes made to this pull request. |


This is simplier now! 🎉
test_enumby removing unused exception handling #105522