Fix hypothesis warning

This commit is contained in:
Hynek Schlawack 2020-03-13 09:50:20 +01:00
parent 07810aec7b
commit 57cb2378b4
1 changed files with 1 additions and 1 deletions

View File

@ -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.