Smarter default value for the print_blob
setting
#2451
Labels
legibility
make errors helpful and Hypothesis grokable
opinions-sought
tell us what you think about these ones!
The
print_blob
setting is currently a boolean, and defaults toFalse
. This is sensible for local development, but ideally we'd like to enable it by default for remote CI runs.hypothesis/hypothesis-python/src/hypothesis/_settings.py
Lines 610 to 612 in e0a74a0
I think that passing
default = bool(os.environ.get("CI"))
would be sufficient. Thoughts?The text was updated successfully, but these errors were encountered: