1111from crosshair .core import IgnoreAttempt , NotDeterministic , UnexploredPath
1212from hypothesis_crosshair_provider .crosshair_provider import CrossHairPrimitiveProvider
1313
14- from hypothesis import settings , strategies as st
14+ from hypothesis import Verbosity , settings , strategies as st
1515from hypothesis .internal .conjecture .provider_conformance import run_conformance_test
1616
1717
@@ -25,6 +25,16 @@ def test_provider_conformance_crosshair():
2525 run_conformance_test (
2626 CrossHairPrimitiveProvider ,
2727 context_manager_exceptions = (IgnoreAttempt , UnexploredPath , NotDeterministic ),
28- settings = settings (max_examples = 5 , stateful_step_count = 10 ),
28+ settings = settings (
29+ max_examples = 5 ,
30+ stateful_step_count = 10 ,
31+ # It's nice to set Verbosity.verbose unconditionally here so we get
32+ # more information during rare errors without having to retry.
33+ #
34+ # Careful, though: it's possible interactions with crosshair differ
35+ # under verbosity (eg realizing the symbolic debug messages), so
36+ # some errors may only surface with or without verbosity.
37+ verbosity = Verbosity .verbose ,
38+ ),
2939 _realize_objects = _realize_objects ,
3040 )
0 commit comments