updated test data for constructor/__init__ inspection

This commit is contained in:
Ekaterina Tuzova
2013-03-28 15:45:48 +04:00
parent 843bf0e2fc
commit 6a6dc8a67a
3 changed files with 6 additions and 6 deletions
@@ -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")