PY-28782 Fix remove assignment expression target inspection for multiple targets

(cherry picked from commit 2a8862d459955a23def7941229007e26d076c54e)

IJ-CR-4054

GitOrigin-RevId: 0068c0195a89e2272e9c632acc5494ea7ff0b120
This commit is contained in:
andrey.matveev
2020-12-17 12:54:21 +00:00
committed by intellij-monorepo-bot
parent 017d156ddf
commit 3b99571638
11 changed files with 90 additions and 9 deletions
@@ -0,0 +1,3 @@
def f():
a<caret> = b = 0
return b
@@ -0,0 +1,3 @@
def f():
a = b<caret> = 0
return a
@@ -0,0 +1,3 @@
def f():
a = <caret>unused, b = 42, 42
return a, b
@@ -0,0 +1,3 @@
def f():
a = _, b = 42, 42
return a, b
@@ -0,0 +1,3 @@
def f():
a = b, <caret>unused = 42, 42
return a, b
@@ -0,0 +1,3 @@
def f():
a = b, _ = 42, 42
return a, b