I am trying to use Hypothesis to stress test some code. I need a large example, but Hypthesis has some built in mechanism to prevent that. For example:
from hypothesis import strategies as st
st.lists(st.booleans(), min_size=5000).example()
I get an Unsatisfiable
exception, but min_size=1000
works.
How can I stop Hypothesis preventing generation of large examples?
I know that large examples are problematic for the intended use of Hypothesis, but I am repurposing it somewhat and I do need a (very) large random example of my data type.