a8537e1371
5.46.0 - 2021-01-04 This release upgrades from_type(), to infer strategies for type-annotated arguments even if they have defaults when it otherwise falls back to builds() (issue #2708). 5.45.0 - 2021-01-04 This release adds the hypothesis[codemods] extra, which you can use to check for and automatically fix issues such as use of deprecated Hypothesis APIs (issue #2705). 5.44.0 - 2021-01-03 This patch fixes from_type() with the typing_extensions Literal backport on Python 3.6. 5.43.9 - 2021-01-02 This patch fixes issue #2722, where certain orderings of register_type_strategy(), ForwardRef, and from_type() could trigger an internal error. 5.43.8 - 2021-01-02 This patch makes some strategies for collections with a uniqueness constraint much more efficient, including dictionaries(keys=sampled_from(...), values=..) and lists(tuples(sampled_from(...), ...), unique_by=lambda x: x[0]). (related to issue #2036) 5.43.7 - 2021-01-02 This patch extends our faster special case for sampled_from() elements in unique lists() to account for chains of .map(...) and .filter(...) calls (issue #2036). 5.43.6 - 2021-01-02 This patch improves the type annotations on assume() and @reproduce_failure(). 5.43.5 - 2021-01-01 This patch updates our copyright headers to include 2021. Happy new year! 5.43.4 - 2020-12-24 This change fixes a documentation error in the database setting. The previous documentation suggested that callers could specify a database path string, or the special string ":memory:", but this setting has never actually allowed string arguments. Permitted values are None, and instances of ExampleDatabase. 5.43.3 - 2020-12-11 This patch fixes issue #2696, an internal error triggered when the @example decorator was used and the verbosity setting was quiet. 5.43.2 - 2020-12-10 This patch improves the error message from the data_frames() strategy when both the rows and columns arguments are given, but there is a missing entry in rows and the corresponding column has no fill value (issue #2678). 5.43.1 - 2020-12-10 This patch improves the error message if builds() is passed an Enum which cannot be called without arguments, to suggest using sampled_from() (issue #2693). 5.43.0 - 2020-12-09 This release adds new timezones() and timezone_keys() strategies (issue #2630) based on the new zoneinfo module in Python 3.9. pip install hypothesis[zoneinfo] will ensure that you have the appropriate backports installed if you need them. |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |