We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following unit test (you can drop it into trivial_inference_test.py) fails
trivial_inference_test.py
def testNestedUnpack(self): def nest_in_list(x, y): return [(x, y) for _ in range(1)] self.assertReturnType( typehints.List[typehints.Tuple[str, int]], lambda x: nest_in_list(*x), [typehints.Tuple[str, int]])
Expected :List[Tuple[<class 'str'>, <class 'int'>]] Actual :List[Tuple[<class 'type'>, <class 'type'>]]
This can cause issues with certain callables. For example: #33014
Priority: 2 (default / most bugs should be filed as P2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
The following unit test (you can drop it into
trivial_inference_test.py
) failsThis can cause issues with certain callables. For example:
#33014
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: