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
Make get_origin(Literal[...]) == Literal
.
#80
Conversation
Hm, it looks like some tests failed. Could you please fix them before I can merge this? |
Looks like(?) the failure now arises because of the confusion between typing.Literal (the backport of typing) and typing_extension.Literal. Not sure what the best approach is here... |
Hm that looks weird: the error messages are like |
I tried something along these lines (last commit), but no success... |
Now fixed. There are some other failures, but they are unrelated to this PR (see e.g. #84). |
It looks like there are two other failures because new Could you please make a separate PR updating typing_extension requirement and test matrix for Python versions? |
Or actually you mean the issue is still present even on latest |
The failure of tests with Python 3.5.{0,1} is easy to fix so I did that at #85. |
OK, I will merge this now, and will look at the remaining failure later. |
See #39 (comment).