From 57cb2378b40168f7420993d519cd1d5c347c8e3b Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Fri, 13 Mar 2020 09:50:20 +0100 Subject: [PATCH] Fix hypothesis warning --- tests/test_make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_make.py b/tests/test_make.py index 780a2101..a9c7f416 100644 --- a/tests/test_make.py +++ b/tests/test_make.py @@ -494,7 +494,7 @@ class TestAttributes(object): assert C.D.__name__ == "D" assert C.D.__qualname__ == C.__qualname__ + ".D" - @given(with_validation=booleans()) + @pytest.mark.parametrize("with_validation", [True, False]) def test_post_init(self, with_validation, monkeypatch): """ Verify that __attrs_post_init__ gets called if defined.