According to the hypothesis docs, st.one_of shrinks towards elements earlies in the list. For nullable columns, you use result |= st.none(), which results in st.one_of(<other strategy>, st.none()).
Would it be desirable to interchange the order so the strategy will shrink towards NULLS rather than filled values?
According to the hypothesis docs,
st.one_of
shrinks towards elements earlies in the list. For nullable columns, you useresult |= st.none()
, which results inst.one_of(<other strategy>, st.none())
.Would it be desirable to interchange the order so the strategy will shrink towards NULLS rather than filled values?