Skip to content

Instantly share code, notes, and snippets.

@stephen-bunn
Created May 7, 2019 20:08
Show Gist options
  • Save stephen-bunn/bcab6638d396fc610d6a622412698c1c to your computer and use it in GitHub Desktop.
Save stephen-bunn/bcab6638d396fc610d6a622412698c1c to your computer and use it in GitHub Desktop.
Medium - Hypothesis Windows healthcheck profile
# Copyright (c) 2019 Stephen Bunn <stephen@bunn.io>
# ISC License <https://opensource.org/licenses/isc>
import sys
from hypothesis import settings, HealthCheck
settings.register_profile(
"windows", suppress_health_check=[HealthCheck.too_slow], deadline=None
)
if sys.platform in ("win32",):
settings.load_profile("windows")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment