fixed PY-950 Exception from Move Statement, more tests

This commit is contained in:
alexey.ivanov
2010-05-07 17:00:39 +04:00
parent 74672e8b09
commit 31981b778c
8 changed files with 80 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
class A:
def foo(self):
if a: pass
else: pass
a <caret>= 0
if a: pass
else: pass
+7
View File
@@ -0,0 +1,7 @@
class A:
def foo(self):
if a: pass
else: pass
if a: pass
else: pass
a <caret>= 0
+7
View File
@@ -0,0 +1,7 @@
class A:
def foo(self):
a <caret>= 0
if a: pass
else: pass
if a: pass
else: pass
@@ -0,0 +1,9 @@
if a:
a = 1
b =<caret> 2
c = 3
@@ -0,0 +1,9 @@
if a:
a = 1
c = 3
b = 2
@@ -0,0 +1,9 @@
if a:
b = 2
a = 1
c = 3