hypothesis icon indicating copy to clipboard operation
hypothesis copied to clipboard

`st.from_type(type)` broken by 6.114.0 -- only returns `type`

Open rsokl opened this issue 4 months ago • 0 comments

Before 6.114.0

>>> [st.from_type(type).example() for _ in range(10)]
[datetime.time,
 re.Match,
 ExceptionGroup,
 ipaddress.IPv6Interface,
 str,
 numbers.Integral,
 numbers.Complex,
 fractions.Fraction,
 range,
 zoneinfo.ZoneInfo]

After:

>>> [st.from_type(type).example() for _ in range(10)]
[type, type, type, type, type, type, type, type, type, type]

rsokl avatar Oct 19 '24 15:10 rsokl