v6.170.1
Hypothesis version 6.170.1
Changed 2
- Hypothesis no longer mutates test cases by copying one element of a unique collection over another element of the same collection, as such mutations were certain to be rejected.
- Hypothesis no longer probes for minimal examples by drawing every element of a unique collection at its simplest value, which could waste several times as many draws from the element strategy as were actually returned.
Fixed 1
- Generating unique collections such as sets() or lists() with unique=True is considerably more efficient.
From Hypothesis
This patch makes generating unique collections, such as "sets()" or "lists()" with "unique=True", considerably more efficient (issue #4458). Hypothesis no longer mutates test cases by copying one element of a unique collection over another element of the same collection, and no longer probes for minimal examples by drawing every element at its simplest value - both of which were certain to be rejected, and could waste several times as many draws from the element strategy as were actually returned.
The canonical version of these notes (with links) is on readthedocs.