Files
openide/python/testData/intentions/splitIf.py
Mikhail Golubev baa3dfe8e6 Rename test data files for intentions to be consistent with other PyCharm tests
Initial text is in "<testName>.py" and expected result is in "<testName>_after.py".
Previously they were called "before<testName>.py" and "after<testName>.py" which
was very inconvenient, because these files were too far away from each other and
expected data came first.
2015-12-04 16:03:32 +03:00

13 lines
215 B
Python

def foo():
i<caret>f a + 2 > 3 and b < 4:
#comment
a = a and b
b = 4
elif a > 20:
pass
elif b > 20:
b = a + 2
foo()
else:
b = a and b
a = 4