# Hypothesis by default activates several "Health Checks", including one that fires if the builder is "too slow".
# This check is disabled [1] if Hypothesis detects a CI environment, i.e. either `CI` or `TF_BUILD` is defined [2].
# We set `CI=1` here using a setup hook to avoid spurious failures [3].
#
# Example error message for reference:
# hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 2 valid examples in 1.28 seconds (1 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g. max_size or max_leaves parameters).