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
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
typeguard-4.2.1
Python 3.11.8 (main, Feb 26 2024, 21:39:34) [GCC 11.2.0] on linux
I am expeting the TypeCheckError: item 1 of list is not an instance of str
from typeguard import check_type from typing import List string_list = ['nobody', 1, 1, 1, 1] check_type(string_list, List[str])
The text was updated successfully, but these errors were encountered:
Duplicate of #430, #418 and #417.
Sorry, something went wrong.
No branches or pull requests
Things to check first
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
Typeguard version
typeguard-4.2.1
Python version
Python 3.11.8 (main, Feb 26 2024, 21:39:34) [GCC 11.2.0] on linux
What happened?
I am expeting the TypeCheckError: item 1 of list is not an instance of str
How can we reproduce the bug?
The text was updated successfully, but these errors were encountered: