There is a newer version of the record available.

Published September 9, 2019 | Version hypothesis-python-4.36.0

HypothesisWorks/hypothesis: Hypothesis for Python - version 4.36.0

Description

This patch deprecates "min_len" or "max_len" of 0 in "byte_string_dtypes()" and "unicode_string_dtypes()". The lower limit is now 1.

Numpy uses a length of 0 in these dtypes to indicate an undetermined size, chosen from the data at array creation. However, as the "arrays()" strategy creates arrays before filling them, strings were truncated to 1 byte.

The canonical version of these notes (with links) is on readthedocs.

Files

HypothesisWorks/hypothesis-hypothesis-python-4.36.0.zip

Files (1.6 MB)

Additional details