tests PY-6102 Call to constructor of super is missed

This commit is contained in:
Ekaterina Tuzova
2012-04-01 15:27:03 +04:00
parent 55daee04cb
commit 2cdd813af0
2 changed files with 2 additions and 0 deletions
@@ -4,4 +4,5 @@ class A:
class B(A):
def <caret><warning descr="Call to constructor of super class is missed">__init__</warning>(self, r, b = 6):
"""docstring"""
print "Constructor B was called"
@@ -4,5 +4,6 @@ class A:
class B(A):
def __init__(self, r, c, b=6):
"""docstring"""
A.__init__(self, c)
print "Constructor B was called"