diff options
author | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2017-04-22 07:05:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-22 07:05:52 -0500 |
commit | d5cc5f6430a5e033289de657152399893b1a83ef (patch) | |
tree | 9f715fa3e86740307e8388a72bb0200d5aaae75d /testsuite/E50.py | |
parent | f1908ba99b72c272720de067794cd3d1a88a1bbb (diff) | |
parent | cb17d2739696df66c5b1eed2de559b4d778836e2 (diff) | |
download | pep8-d5cc5f6430a5e033289de657152399893b1a83ef.tar.gz |
Merge pull request #630 from asottile/correct_e501_first_line_docstring_622
Correctly report E501 when the first line of a docstring is too long
Diffstat (limited to 'testsuite/E50.py')
-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 |