◐ Shell
clean mode source ↗

`types.UnionType` + `Literal` types are not tested together

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

#103772

@sobolevn

Description

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

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions