diff options
author | Sam Vilain <svilain@saymedia.com> | 2012-05-27 12:39:02 -0700 |
---|---|---|
committer | Sam Vilain <svilain@saymedia.com> | 2012-05-27 13:40:43 -0700 |
commit | c98b761367f25b28532bb32c5b67138680a332fb (patch) | |
tree | e514e7ff84b08d11031cd99ed0e9dd3306bb919a /testsuite/E12.py | |
parent | 771bebd8abdaea77b502469e7b6a1a1160345d19 (diff) | |
download | pep8-c98b761367f25b28532bb32c5b67138680a332fb.tar.gz |
Fix continuation lines false positive on indented blocks
A block which started at an initial indent followed by a hanging indent
would not work due to an array being badly primed. Fix it, and while
we're fixing small things, remove some breakpoint/debugging code and an
overly long line.
Diffstat (limited to 'testsuite/E12.py')
-rw-r--r-- | testsuite/E12.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/E12.py b/testsuite/E12.py index 0d98b1c..d268a89 100644 --- a/testsuite/E12.py +++ b/testsuite/E12.py @@ -118,3 +118,11 @@ result = { } ] } +#: Okay +if bar: + return( + start, 'E122 lines starting with a ' + 'closing bracket should be indented ' + "to match that of the opening " + "bracket's line" + ) |