Skip to content

Commit c85fa44

Browse files
committed
Add tests for E265
1 parent 52ba8c5 commit c85fa44

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

testsuite/E26.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,25 @@
66
x = x + 1 # Increment x
77
#: E262
88
x = y + 1 #: Increment x
9+
#: E265
10+
#Block comment
11+
a = 1
912
#: Okay
1013
pass # an inline comment
1114
x = x + 1 # Increment x
1215
y = y + 1 #: Increment x
13-
#:
16+
17+
# Block comment
18+
a = 1
19+
20+
# Block comment1
21+
22+
# Block comment2
23+
aaa = 1
24+
25+
26+
# example of docstring (not parsed)
27+
def oof():
28+
"""
29+
#foo not parsed
30+
"""

0 commit comments

Comments
 (0)