Invalid failing example description with hypothesis.stateful.multiple containing single value
#3236
Labels
bug
something is clearly wrong here
On my machine with
Python 3.9.5andhypothesis==6.37.1(latest at the moment of writing) test casegives
Falsifying example: state = State() v1 = state.create_single_multiple() state.check_value(value=v1) state.teardown()which will succeed because
v1isMultipleResults(values=(42,))but I think it should be42, so somewhere in depths of generating failing example forRuleBasedStateMachinewe need to handle special case with single-valueMultipleResultsso the output will beFalsifying example: state = State() v1, = state.create_single_multiple() # ^ note this comma state.check_value(value=v1) state.teardown()The text was updated successfully, but these errors were encountered: