"argument is not compatible with the protocol" when inheriting from Protocol
#457
Closed
2 tasks done
Labels
Protocol
#457
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
4.2.1
Python version
3.12.1
What happened?
Typeguard reports incompatibilities between a the values of a type variable and its type (I hope that makes sense). The value of
type_argument
isClass
, which is a type derived fromBase
, so it should be compatible withtype[Base]
.How can we reproduce the bug?
bug.py
The text was updated successfully, but these errors were encountered: