Skip to content

Commit

Permalink
rename the test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aciek committed Oct 22, 2024
1 parent 846b7f6 commit f19a507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class Y:
assert result == Y(d={"x": X(i=42), "z": X(i=37)})


def test():
def test_from_dict_with_union_of_data_classes_selects_type_by_number_of_matching_fields():
@dataclass
class X:
i: Optional[int]
Expand Down

0 comments on commit f19a507

Please sign in to comment.