-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
gh-103592: Add tests of Literal with Enum and Union of Literals
#103706
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
…iteral`s
|
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
…iteral`s (pythonGH-103706) (cherry picked from commit 5041c2b) Co-authored-by: Nikita Sobolev <[email protected]>
|
GH-103720 is a backport of this pull request to the 3.11 branch. |
|
@sobolevn, are you up for backporting these tests to |
|
Now I realized that I've missed @AlexWaygood Yeah, sure. Will do tomorrow. |
These tests should catch theoretical future regressions similar to ones described in #103592
Union[Literal[1], Literal[SomeEnum.one]]#103592