You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Falsifying example:
state = StateMachine()
state.teardown()
Traceback (most recent call last):
File "test42.py", line 33, in <module>
run_state_machine_as_test(StateMachine)
File "/home/emmanuel/projects/hypothesis-trio/venv/lib/python3.8/site-packages/hypothesis/stateful.py", line 75, in run_state_machine_as_test
def run_state_machine_as_test(state_machine_factory, *, settings=None):
File "/home/emmanuel/projects/hypothesis-trio/venv/lib/python3.8/site-packages/hypothesis/internal/reflection.py", line 655, in accept
return func(*bound.args, **bound.kwargs)
File "/home/emmanuel/projects/hypothesis-trio/venv/lib/python3.8/site-packages/hypothesis/stateful.py", line 200, in run_state_machine_as_test
run_state_machine(state_machine_factory)
File "/home/emmanuel/projects/hypothesis-trio/venv/lib/python3.8/site-packages/hypothesis/stateful.py", line 92, in run_state_machine
@given(st.data())
File "/home/emmanuel/projects/hypothesis-trio/venv/lib/python3.8/site-packages/hypothesis/core.py", line 1164, in wrapped_test
raise the_error_hypothesis_found
File "test42.py", line 27, in invariant1
assert False
AssertionError
However the falsifying example displayed doesn't trigger the error.
The falsifying should be:
minimal example:
Running this code gives:
However the falsifying example displayed doesn't trigger the error.
The falsifying should be:
The text was updated successfully, but these errors were encountered: