Skip to content

Commit 456736a

Browse files
committed
tests: Add testcase that breaks dataclass with default argument
1 parent 0274948 commit 456736a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/fixtures/dataclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Person:
66
"""Simple dataclass for a person's information"""
77

88
name: str
9-
age: int
9+
age: int = 2
1010
"""Field description."""
1111

1212

0 commit comments

Comments
 (0)