Files
openide/python/testData/quickFixes/AddFieldQuickFixTest/addFieldAddConstructor.py
Ekaterina Tuzova 9750faf20d fixed PY-9253 Broken "add field to class" adds the field to the instance instead.
moved tests to the separate testCase
2013-03-22 18:13:13 +04:00

9 lines
214 B
Python

class A:
def __init__(self, a, b):
self.a = a
self.b = b
class B(A):
def foo(self):
return self.<caret><warning descr="Unresolved attribute reference 'x' for class 'B'">x</warning>