summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-05-01 23:57:05 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-05-01 23:57:05 +0200
commitc85fa440d461d4cb715d0ffd8f43675420e5b8a2 (patch)
treedfe496c86c9939c221d6e3de365b4e37878897df
parent52ba8c543de4dee17d90fc4a566b18b9e0771b3d (diff)
downloadpep8-c85fa440d461d4cb715d0ffd8f43675420e5b8a2.tar.gz
Add tests for E265
-rw-r--r--testsuite/E26.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/testsuite/E26.py b/testsuite/E26.py
index 984efb5..e599a00 100644
--- a/testsuite/E26.py
+++ b/testsuite/E26.py
@@ -6,8 +6,25 @@ x = x + 1 #Increment x
x = x + 1 # Increment x
#: E262
x = y + 1 #: Increment x
+#: E265
+#Block comment
+a = 1
#: Okay
pass # an inline comment
x = x + 1 # Increment x
y = y + 1 #: Increment x
-#:
+
+# Block comment
+a = 1
+
+# Block comment1
+
+# Block comment2
+aaa = 1
+
+
+# example of docstring (not parsed)
+def oof():
+ """
+ #foo not parsed
+ """