Fix tests

This commit is contained in:
David Peter
2025-10-22 14:41:46 +02:00
parent 195669f33d
commit 9c4278da4e
5 changed files with 8 additions and 5 deletions

View File

@@ -615,7 +615,7 @@ class A:
class B(A):
def __init__(self, a: int):
super().__init__(a)
# error: [unresolved-attribute] "Type `<super: <class 'B'>, B>` has no attribute `a`"
# error: [unresolved-attribute] "Object of type `<super: <class 'B'>, B>` has no attribute `a`"
super().a
# error: [unresolved-attribute] "Object of type `<super: <class 'B'>, B>` has no attribute `a`"