aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/parenthesized_conditions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/python/parenthesized_conditions.py')
-rw-r--r--tests/indent/python/parenthesized_conditions.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/indent/python/parenthesized_conditions.py b/tests/indent/python/parenthesized_conditions.py
new file mode 100644
index 000000000..d30f2b1af
--- /dev/null
+++ b/tests/indent/python/parenthesized_conditions.py
@@ -0,0 +1,35 @@
+if (
+ True
+ or 1
+ or False
+):
+ pass
+
+if (
+ True
+ or 1
+ or False):
+ pass
+
+if (True
+ or 1
+ or False):
+ pass
+
+while (
+ False
+ or 1
+ or False
+):
+ pass
+
+while (
+ False
+ or 1
+ or False):
+ pass
+
+while (False
+ or 1
+ or False):
+ pass