Skip to content

Commit a927084

Browse files
authored
Update check-selftype.test
1 parent 5343adb commit a927084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-data/unit/check-selftype.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ class A:
10581058
def f(x: int) -> None: ...
10591059
def g(self: None) -> None: ...
10601060
[out]
1061-
main:3: error: Self argument missing for a non-static method (or an invalid type for self)
1061+
main:3: error: self parameter missing for a non-static method (or an invalid type for self)
10621062
main:4: error: The erased type of self "None" is not a supertype of its class "__main__.A"
10631063

10641064
[case testUnionPropertyField]

0 commit comments

Comments
 (0)