Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed Jan 21, 2025
1 parent 369bed3 commit 42a98c1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/serializers/test_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,6 @@ class Foo:
x: int
init_var: dataclasses.InitVar[int] = 1

def __post_init__(self, init_var: int) -> None:
# no op just for testing purposes
pass

@dataclasses.dataclass
class Bar:
x: int
Expand All @@ -222,7 +218,6 @@ class Bar:
schema=core_schema.with_default_schema(core_schema.int_schema(), default=1),
),
],
collect_init_only=True,
),
['x'],
post_init=True,
Expand Down

0 comments on commit 42a98c1

Please sign in to comment.