Uninformative flaky error messages when interestingness_origin changes #3940
Labels
interop
how to play nicely with other packages
legibility
make errors helpful and Hypothesis grokable
In some circumstances (I can provide a reproducer if necessary, but it's a bit fiddly) I get the following error message:
This is extremely hard to read of course. After some massaging of the data I concluded that what's happening is that this test is indeed lightly flaky (in slightly hard to fix ways) because although it consistently fails with the same exception each time, the number of times it fails with that exception varies, which produces this result.
This is a particularly uninformative example of the error message, but I suspect this should be fixed in a fairly general way by extending the workaround labelled a horrible bodge further, and not error here when the status of the InterestingnessOrigin is the same. If we flakily transition from one sort of failure to another then it's probably better to just not worry about it and assume it's a problem in our detection of whether two errors are the same rather than the test.
The text was updated successfully, but these errors were encountered: