Skip to content

Commit 287a874

Browse files
committed
Remove the expected error from testDataclassInitVarRedefinitionNoCrash
1 parent 5d9ce07 commit 287a874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-dataclasses.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2734,6 +2734,6 @@ class ClassA:
27342734
class ClassB(ClassA):
27352735
value: InitVar[int]
27362736

2737-
def value(self) -> int: # E: Name "value" already defined on line 10
2737+
def value(self) -> int:
27382738
return 0
27392739
[builtins fixtures/dict.pyi]

0 commit comments

Comments
 (0)