summaryrefslogtreecommitdiff
path: root/python/testData/intentions/beforeSplitIf.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/testData/intentions/beforeSplitIf.py')
-rw-r--r--python/testData/intentions/beforeSplitIf.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/testData/intentions/beforeSplitIf.py b/python/testData/intentions/beforeSplitIf.py
new file mode 100644
index 000000000000..fc52062b94ff
--- /dev/null
+++ b/python/testData/intentions/beforeSplitIf.py
@@ -0,0 +1,13 @@
+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 \ No newline at end of file