HypothesisWorks / hypothesis

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

Move `ir_nodes` from `Examples` to `ConjectureResult` #4171

Closed tybug closed 1 week ago

tybug commented 1 week ago

The motivation for this is that we sometimes want to access the ir nodes of a ConjectureData that hasn't been frozen/concluded yet, similar to how we sometimes do for the buffer.

Zac-HD commented 1 week ago

Flaky, maybe newly so: FAILED tests/cover/test_replay_logic.py::test_will_shrink_if_the_previous_example_does_not_look_right - Failed: DID NOT RAISE <class 'AssertionError'>

tybug commented 1 week ago

Haven't seen that flake before, but I'm unsure how recent changes could have caused it. (and it does look like something that could flake once in a blue moon). Likely unable to investigate until wednesday.