Skip to content

Commit ccb801e

Browse files
committed
Suppress Hypothesis health checks some more for PyPy3.
1 parent edb68f9 commit ccb801e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_make.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import pytest
1212

13-
from hypothesis import given
13+
from hypothesis import given, settings, HealthCheck
1414
from hypothesis.strategies import booleans, integers, lists, sampled_from, text
1515

1616
from attr import _config
@@ -697,6 +697,7 @@ class TestMetadata(object):
697697
Tests for metadata handling.
698698
"""
699699
@given(sorted_lists_of_attrs)
700+
@settings(suppress_health_check=[HealthCheck.too_slow])
700701
def test_metadata_present(self, list_of_attrs):
701702
"""
702703
Assert dictionaries are copied and present.
@@ -718,6 +719,7 @@ def test_metadata_present(self, list_of_attrs):
718719
class_attr.metadata.get(k))
719720

720721
@given(simple_classes(), text())
722+
@settings(suppress_health_check=[HealthCheck.too_slow])
721723
def test_metadata_immutability(self, C, string):
722724
"""
723725
The metadata dict should be best-effort immutable.

0 commit comments

Comments
 (0)