summaryrefslogtreecommitdiff
path: root/testsuite/W29.py
blob: 4050c2ff6a3db09bdf67e4a7068dfbf72bd4adb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#: Okay
# 情
#: W291:1:6
print 
#: W293:2:1
class Foo(object):
    
    bang = 12
#: W291:2:35
'''multiline
string with trailing whitespace'''   
#: W292:1:36 noeol
# This line doesn't have a linefeed
#: W292:1:5 E225:1:2 noeol
1+ 1
#: W292:1:27 E261:1:12 noeol
import this # no line feed
#: W292:3:22 noeol
class Test(object):
    def __repr__(self):
        return 'test'