aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/python')
-rw-r--r--tests/indent/python/control_flow.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/indent/python/control_flow.py b/tests/indent/python/control_flow.py
index fca528a2d..387756f63 100644
--- a/tests/indent/python/control_flow.py
+++ b/tests/indent/python/control_flow.py
@@ -26,3 +26,10 @@ while (a > 4 and
pass
try:
+
+def foo():
+ print('indentme')
+
+ # comment
+ if True:
+ pass