Skip to content

Commit

Permalink
Rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Nov 14, 2023
1 parent 36cfcdc commit c340d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class Config(BaseConfig):
assert DataClass(x=None).to_dict() == {"alias": None}


def test_by_field_with_loose_deserialize():
def test_by_field_with_allow_deserialization_not_by_alias():
@dataclass
class DataClass(DataClassDictMixin):
a: int = field(metadata={"alias": "alias_a"})
Expand Down

0 comments on commit c340d0d

Please sign in to comment.