Skip to content

Commit

Permalink
Stop generating nan values in tests to work with latest attrs (round 2)
Browse files Browse the repository at this point in the history
this is a follow up commit to 2d37226
  • Loading branch information
natsukium committed Oct 1, 2024
1 parent e536258 commit 9c46c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_baseconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_simple_roundtrip(cls_and_vals, strat):
assert inst == converter.structure(converter.unstructure(inst), cl)


@given(simple_typed_attrs(defaults=True, newtypes=False), unstructure_strats)
@given(simple_typed_attrs(defaults=True, newtypes=False, allow_nan=False), unstructure_strats)
def test_simple_roundtrip_defaults(attr_and_strat, strat):
"""
Simple classes with metadata can be unstructured and restructured.
Expand Down

0 comments on commit 9c46c1c

Please sign in to comment.