We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quiet
Code:
import hypothesis import hypothesis.strategies @hypothesis.example(None) @hypothesis.settings(verbosity=hypothesis.Verbosity.quiet) @hypothesis.given(hypothesis.strategies.integers()) def f(a): pass f()
Failure:
Traceback (most recent call last): File "tmp.py", line 10, in <module> f() File "tmp.py", line 5, in f @hypothesis.settings(verbosity=hypothesis.Verbosity.quiet) File "/home/gram/.local/lib/python3.8/site-packages/hypothesis/core.py", line 1090, in wrapped_test errors = list( File "/home/gram/.local/lib/python3.8/site-packages/hypothesis/core.py", line 379, in execute_explicit_examples assert fragments_reported[0].startswith("Falsifying example") IndexError: list index out of range
Reason: execute_explicit_examples assumes that there are fragments_reported but there are always none if the verbosity is quiet.
execute_explicit_examples
fragments_reported
verbosity
The text was updated successfully, but these errors were encountered:
@example
verbosity=quiet
Zac-HD
Successfully merging a pull request may close this issue.
Code:
Failure:
Reason:
execute_explicit_examplesassumes that there arefragments_reportedbut there are always none if theverbosityisquiet.The text was updated successfully, but these errors were encountered: