diff --git a/python/testData/inspections/PyMissingConstructorInspection/basic.py b/python/testData/inspections/PyMissingConstructorInspection/basic.py index b8935066e4f8..92d6b5bc1bf3 100644 --- a/python/testData/inspections/PyMissingConstructorInspection/basic.py +++ b/python/testData/inspections/PyMissingConstructorInspection/basic.py @@ -8,7 +8,7 @@ class AA(A): print("Constructor AA was called") class B(A): - def __init__(self): + def __init__(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 __init__(self): + def __init__(self): print("Constructor C2 was called") class D2(A2): diff --git a/python/testData/inspections/PyMissingConstructorInspection/deepInheritance.py b/python/testData/inspections/PyMissingConstructorInspection/deepInheritance.py index 157892eeacfa..5dbfe46c7084 100644 --- a/python/testData/inspections/PyMissingConstructorInspection/deepInheritance.py +++ b/python/testData/inspections/PyMissingConstructorInspection/deepInheritance.py @@ -6,5 +6,5 @@ class B(A): pass class C(B): - def __init__(self): + def __init__(self): print ("Constructor C was called") diff --git a/python/testData/inspections/PyMissingConstructorInspection/py3k.py b/python/testData/inspections/PyMissingConstructorInspection/py3k.py index 7d5ce521843c..2c55c517780a 100644 --- a/python/testData/inspections/PyMissingConstructorInspection/py3k.py +++ b/python/testData/inspections/PyMissingConstructorInspection/py3k.py @@ -8,7 +8,7 @@ class AA(A): print("Constructor AA was called") class B(A): - def __init__(self): + def __init__(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 __init__(self): + def __init__(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 __init__(self): + def __init__(self): super(D2, self).__init__() print("Constructor F2 was called") \ No newline at end of file