diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-05-07 22:12:42 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-05-07 22:12:42 +0200 |
commit | 588f1f49eb0567006564451923c439f77d33ff7e (patch) | |
tree | 3ad944e1a49a9cd984d9956a3271d560670390a8 /testsuite | |
parent | 3beebfb0be9df325629ed249bd5a9576ffe79b2e (diff) | |
download | pep8-588f1f49eb0567006564451923c439f77d33ff7e.tar.gz |
Check the last line even if it does not end with a NL; issue #286
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/W29.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/W29.py b/testsuite/W29.py index 688667f..4050c2f 100644 --- a/testsuite/W29.py +++ b/testsuite/W29.py @@ -15,3 +15,7 @@ string with trailing whitespace''' 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' |