mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
updated test data for constructor/__init__ inspection
This commit is contained in:
@@ -8,7 +8,7 @@ class AA(A):
|
||||
print("Constructor AA was called")
|
||||
|
||||
class B(A):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
print("Constructor B was called")
|
||||
|
||||
class C(B):
|
||||
@@ -28,7 +28,7 @@ class B2(A2):
|
||||
print("Constructor B2 was called")
|
||||
|
||||
class C2(B2):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
print("Constructor C2 was called")
|
||||
|
||||
class D2(A2):
|
||||
|
||||
@@ -6,5 +6,5 @@ class B(A):
|
||||
pass
|
||||
|
||||
class C(B):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
print ("Constructor C was called")
|
||||
|
||||
@@ -8,7 +8,7 @@ class AA(A):
|
||||
print("Constructor AA was called")
|
||||
|
||||
class B(A):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
print("Constructor B was called")
|
||||
|
||||
class C(B):
|
||||
@@ -28,7 +28,7 @@ class B2(A2):
|
||||
print("Constructor B was called")
|
||||
|
||||
class C2(B2):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
print("Constructor C2 was called")
|
||||
|
||||
class D2(C2):
|
||||
@@ -42,6 +42,6 @@ class E2(A2):
|
||||
print("Constructor E2 was called")
|
||||
|
||||
class F2(A2):
|
||||
def <warning descr="Call to constructor of super class is missed">__init__</warning>(self):
|
||||
def <warning descr="Call to __init__ of super class is missed">__init__</warning>(self):
|
||||
super(D2, self).__init__()
|
||||
print("Constructor F2 was called")
|
||||
Reference in New Issue
Block a user