Strategie from_type
fails in some cases when using tuple
instead of Tuple
as type
#3527
Labels
bug
something is clearly wrong here
There is a simple example:
The difference between classes
ItWorks
andItDoesnt
is that the latter usestuple
instead oftyping.Tuple
. The first test passes, the second one produces the exception:Since it is now recommended to use directly the non-typing generic vs the
typing.Tuple
type, this is a problem.Note. This happens apparently only when the tuple is used as key in a dict.
The text was updated successfully, but these errors were encountered: