Files
openide/python/testData/quickFixes/PyRenameElementQuickFixTest/protectedMember_after.py
Anton Bragin 2b5e738a5a PY-30827 PyRenameElementQuickFix changed to avoid special handling of unit test cases
Test data and PyQuickFixTest are updated accordingly. Test for renaming in language injection added.
2018-07-13 10:46:32 +03:00

15 lines
155 B
Python

class A:
def __init__(self):
self.A_NEW_NAME = 1
def _foo(self):
pass
a_class = A()
a_class._foo()
print(a_class.A_NEW_NAME)