mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
14 lines
552 B
Python
14 lines
552 B
Python
import platform
|
|
import os
|
|
|
|
from hypothesis import settings, HealthCheck
|
|
|
|
impl = platform.python_implementation()
|
|
|
|
settings.register_profile("ci", settings(max_examples=1000))
|
|
settings.register_profile("ci_pypy", settings(max_examples=1000,
|
|
suppress_health_check=[HealthCheck.too_slow]))
|
|
settings.register_profile("pypy", settings(suppress_health_check=[HealthCheck.too_slow]))
|
|
|
|
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE",
|
|
"default" if impl != "PyPy" else "pypy"))
|