gh-103592: Add tests of `Literal` with `Enum` and `Union` of `Literal`s by sobolevn · Pull Request #103706 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
Member
These tests should catch theoretical future regressions similar to ones described in #103592
…iteral`s
sobolevn
requested review from
AlexWaygood,
Fidget-Spinner,
JelleZijlstra and
gvanrossum
as code owners
bedevere-bot
mentioned this pull request
bedevere-bot
added
the
awaiting review
label
sobolevn
added
the
skip news
label
JelleZijlstra
approved these changes
bedevere-bot
added
awaiting merge
and removed
awaiting review
labels
AlexWaygood
added
the
topic-typing
label
AlexWaygood
approved these changes
AlexWaygood
merged commit
5041c2b
into
python:main
miss-islington
commented
Apr 23, 2023
miss-islington commented
Contributor
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖
bedevere-bot
removed
the
awaiting merge
label
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…iteral`s (pythonGH-103706) (cherry picked from commit 5041c2b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot
commented
Apr 23, 2023
bedevere-bot commented
GH-103720 is a backport of this pull request to the 3.11 branch.
AlexWaygood
commented
Apr 23, 2023
AlexWaygood commented
Member
@sobolevn, are you up for backporting these tests to typing_extensions as well?
AlexWaygood pushed a commit that referenced this pull request
Member Author
Now I realized that I've missed | unions in this PR. Can I please add one more PR with an extra test to test_types?
@AlexWaygood Yeah, sure. Will do tomorrow.
This was referenced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment