Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Feb 8, 2019
1 parent 17dade8 commit 9ca3a9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hypothesis_trio/_tests/test_async_stateful.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
from trio.testing import MockClock

import hypothesis
from hypothesis import Verbosity
from hypothesis_trio.stateful import TrioRuleBasedStateMachine
from hypothesis.stateful import Bundle, initialize, rule, invariant, run_state_machine_as_test
from hypothesis.strategies import just, integers, lists, tuples
from hypothesis.strategies import integers, lists, tuples


def test_rule_based():
Expand Down Expand Up @@ -173,7 +174,7 @@ async def do_work(self, value):

# Check failure

settings = hypothesis.settings(max_examples=10)
settings = hypothesis.settings(max_examples=10, verbosity=Verbosity.normal)
with pytest.raises(AssertionError) as record:
run_state_machine_as_test(TrioStyleStateMachine, settings=settings)
captured = capsys.readouterr()
Expand Down

0 comments on commit 9ca3a9a

Please sign in to comment.