github HypothesisWorks/hypothesis hypothesis-python-4.36.0
Hypothesis for Python - version 4.36.0

latest releases: hypothesis-python-6.118.9, hypothesis-python-6.118.8, hypothesis-python-6.118.7...
5 years ago

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.

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.