Skip to content

Commit

Permalink
Flip
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 13, 2024
1 parent 2fc49c6 commit 7a4a6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_make.py
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ def test_annotations(self):
C = attr.make_class("C", {"a": a, "b": b, "c": c})
C = attr.resolve_types(C)

assert C.__annotations__ == {"a": bool}
assert {"a": bool} == C.__annotations__

def test_annotations_resolve(self):
"""
Expand All @@ -1190,7 +1190,7 @@ def test_annotations_resolve(self):
C = attr.resolve_types(C)

assert attr.fields(C).a.type is bool
assert C.__annotations__ == {"a": "bool"}
assert {"a": "bool"} == C.__annotations__


class TestFields:
Expand Down

0 comments on commit 7a4a6f9

Please sign in to comment.