diff options
author | Anthony Sottile <asottile@umich.edu> | 2017-03-15 08:37:40 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2017-03-15 08:38:39 -0700 |
commit | cb17d2739696df66c5b1eed2de559b4d778836e2 (patch) | |
tree | 9f715fa3e86740307e8388a72bb0200d5aaae75d /testsuite | |
parent | f1908ba99b72c272720de067794cd3d1a88a1bbb (diff) | |
download | pep8-cb17d2739696df66c5b1eed2de559b4d778836e2.tar.gz |
Correctly report E501 when the first line of a docstring is too long
Resolves #622
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E50.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/E50.py b/testsuite/E50.py index f60f389..189f416 100644 --- a/testsuite/E50.py +++ b/testsuite/E50.py @@ -82,6 +82,11 @@ that I'm calling: #: E501 """ longnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaces""" +#: E501 +# Regression test for #622 +def foo(): + """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar vitae + """ #: Okay """ This |