mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
def a(x):
|
||||
def A_NEW_NAME(x):
|
||||
return x
|
||||
|
||||
|
||||
def f():
|
||||
return a('foo')
|
||||
return A_NEW_NAME('foo')
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
def f(name):
|
||||
a = open(name, 'rb')
|
||||
return a.read()
|
||||
A_NEW_NAME = open(name, 'rb')
|
||||
return A_NEW_NAME.read()
|
||||
|
||||
Reference in New Issue
Block a user