summaryrefslogtreecommitdiff
path: root/third_party/pep8/testsuite/E27.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/pep8/testsuite/E27.py')
-rw-r--r--third_party/pep8/testsuite/E27.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/pep8/testsuite/E27.py b/third_party/pep8/testsuite/E27.py
new file mode 100644
index 00000000000..f9d3e8e17cb
--- /dev/null
+++ b/third_party/pep8/testsuite/E27.py
@@ -0,0 +1,30 @@
+#: Okay
+True and False
+#: E271
+True and False
+#: E272
+True and False
+#: E271
+if 1:
+#: E273
+True and False
+#: E273 E274
+True and False
+#: E271
+a and b
+#: E271
+1 and b
+#: E271
+a and 2
+#: E271 E272
+1 and b
+#: E271 E272
+a and 2
+#: E272
+this and False
+#: E273
+a and b
+#: E274
+a and b
+#: E273 E274
+this and False