from_type
raises TypeError for Union
of builtin generic types
#3080
Labels
bug
something is clearly wrong here
On the current version of hypothesis (6.17.4) on python 3.9.2
raises
TypeError("issubclass() arg 1 must be a class")
becauselist[int]
is an instance oftypes.GenericAlias
and not an instance oftype
.The text was updated successfully, but these errors were encountered: