You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/attrs/files/test_funcs-too-slow.patch

22 lines
735 B

diff --git a/tests/test_funcs.py b/tests/test_funcs.py
index 36969c7..00da655 100644
--- a/tests/test_funcs.py
+++ b/tests/test_funcs.py
@@ -8,7 +8,7 @@ from collections import OrderedDict, Sequence, Mapping
import pytest
-from hypothesis import assume, given, strategies as st
+from hypothesis import assume, given, strategies as st, settings, HealthCheck
from .utils import simple_classes, nested_classes
@@ -57,6 +57,7 @@ class TestAsDict(object):
), dict_factory=dict_class)
@given(nested_classes, st.sampled_from(MAPPING_TYPES))
+ @settings(suppress_health_check=[HealthCheck.too_slow])
def test_recurse_property(self, cls, dict_class):
"""
Property tests for recursive asdict.