mirror of
https://github.com/servo/servo
synced 2026-05-14 02:47:14 +02:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
15 lines
552 B
Python
15 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"))
|