https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e76a0e43426960687ab5ea9ae526af6c34c6a93e authored by Marcos Caceres on 01 September 2017, 04:44:56 UTC
upateWith() must abort when dup shippingOption ids
Tip revision: e76a0e4
conftest.py
import platform
import os

from hypothesis import settings, HealthCheck

impl = platform.python_implementation()

settings.register_profile("ci", 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"))
back to top