Revision d8fa30bacfccf31f001d7b8c367e57da7069b66a authored by Stefano Zacchiroli on 28 September 2019, 10:42:34 UTC, committed by Stefano Zacchiroli on 01 October 2019, 06:25:21 UTC
the real type is Optional[Callable[..., Any]], but redefinitions of imported
stuff in try..except is currently not supported by mypy, see
https://github.com/python/mypy/issues/1153
1 parent 976aab3
Raw File
conftest.py
from hypothesis import settings

# define tests profile. Full documentation is at:
# https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
settings.register_profile("fast", max_examples=5, deadline=5000)
settings.register_profile("slow", max_examples=20, deadline=5000)
back to top