Skip to content

types.UnionType + Literal types are not tested together #103746

Description

@sobolevn

Literal had some known problems when used with typing.Union and types.UnionType.
Example: #103592

I've covered typing.Union, see #103706
But, I forgot about types.UnionType.

So, I will add this new test as a part of this issue.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions