Bug 1553509 [wpt PR 16639] - Get all of manifest/lint/gitignore typed, a=testonly
[gecko.git] / testing / web-platform / tests / tools / conftest.py
blob021a49fc297303b6e4178c427422d91813dbb762
1 import platform
2 import os
4 from hypothesis import settings, HealthCheck
6 impl = platform.python_implementation()
8 settings.register_profile("ci", settings(max_examples=1000,
9 deadline=None,
10 suppress_health_check=[HealthCheck.too_slow]))
11 settings.register_profile("pypy", settings(deadline=None,
12 suppress_health_check=[HealthCheck.too_slow]))
14 settings.load_profile(os.getenv("HYPOTHESIS_PROFILE",
15 "default" if impl != "PyPy" else "pypy"))