{{ message }}
gh-103592: Add tests of Literal with Enum and Union of Literals#103706
Merged
AlexWaygood merged 1 commit intoApr 23, 2023
Merged
gh-103592: Add tests of Literal with Enum and Union of Literals#103706AlexWaygood merged 1 commit into
Literal with Enum and Union of Literals#103706AlexWaygood merged 1 commit into
Conversation
…iteral`s
JelleZijlstra
approved these changes
Apr 23, 2023
AlexWaygood
approved these changes
Apr 23, 2023
Contributor
|
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 23, 2023
…iteral`s (pythonGH-103706) (cherry picked from commit 5041c2b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Member
|
@sobolevn, are you up for backporting these tests to |
Sorry, something went wrong.
AlexWaygood
pushed a commit
that referenced
this pull request
Apr 23, 2023
Member
Author
|
Now I realized that I've missed @AlexWaygood Yeah, sure. Will do tomorrow. |
Sorry, something went wrong.
This was referenced Apr 24, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
These tests should catch theoretical future regressions similar to ones described in #103592
Union[Literal[1], Literal[SomeEnum.one]]#103592