Skip to content

Commit c750978

Browse files
committed
Disable HealthCheck.too_slow in CI.
1 parent dce56a7 commit c750978

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Jean Paul Calderone
55
Adi Roiban
66
Amber Hawkie Brown
77
Mahmoud Hashemi
8+
Wilfredo Sanchez Vega
89

910
and others that have contributed code to the public domain.
1011

src/hyperlink/test/__init__.py

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
"""
3+
Tests for hyperlink
4+
"""
5+
6+
__all = ()
7+
8+
9+
def _init_hypothesis():
10+
# type: () -> None
11+
from os import environ
12+
13+
if "CI" in environ:
14+
from hypothesis import HealthCheck, settings
15+
16+
settings.register_profile(
17+
"patience", settings(suppress_health_check=[HealthCheck.too_slow])
18+
)
19+
settings.load_profile("patience")
20+
21+
22+
_init_hypothesis()

0 commit comments

Comments
 (0)