HypothesisWorks / hypothesis

Hypothesis is a powerful, flexible, and easy to use library for property-based testing.
https://hypothesis.works
Other
7.53k stars 586 forks source link

Fix stack-depth of warning in `@st.composite` #3985

Open Zac-HD opened 4 months ago

Zac-HD commented 4 months ago

In https://github.com/HypothesisWorks/hypothesis/pull/3961#pullrequestreview-2048421781, we decided to defer adjusting the stackdepth of the warning as checked by test_warns_on_strategy_annotation in tests/cover/test_composite.py... and so this issue is to remind us to follow up on that.