diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2013-06-15 16:57:26 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2013-06-15 16:57:26 +0200 |
commit | e0d2d95291b46ddde20dc3658ad6d11b76a43f6f (patch) | |
tree | 2fe55531d45ac406953863d4402f3112bc12c890 /testsuite | |
parent | 03242a7e8d1a59a2431fa5577481cd4cfebfe4bd (diff) | |
download | pep8-e0d2d95291b46ddde20dc3658ad6d11b76a43f6f.tar.gz |
Fix false positive E121 with multiple brackets; issue #203
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E12not.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/E12not.py b/testsuite/E12not.py index 7095744..c50f27f 100644 --- a/testsuite/E12not.py +++ b/testsuite/E12not.py @@ -564,4 +564,18 @@ result = some_function_that_takes_arguments('a', 'b', 'c', 'd', 'e', 'f', ) +# issue 203 +dica = { + ('abc' + 'def'): ( + 'abc'), +} + +(abcdef[0] + [1]) = ( + 'abc') + +('abc' + 'def') == ( + 'abc') # |