summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-06-15 16:57:26 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-06-15 16:57:26 +0200
commite0d2d95291b46ddde20dc3658ad6d11b76a43f6f (patch)
tree2fe55531d45ac406953863d4402f3112bc12c890 /testsuite
parent03242a7e8d1a59a2431fa5577481cd4cfebfe4bd (diff)
downloadpep8-e0d2d95291b46ddde20dc3658ad6d11b76a43f6f.tar.gz
Fix false positive E121 with multiple brackets; issue #203
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/E12not.py14
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')
#