diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-16 00:37:18 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-16 00:37:18 +0200 |
commit | bbeb3108464748f1646c331c15ca7a64b4583023 (patch) | |
tree | 4a20b911d4246f9fea37f847ddda9b97b1370634 /testsuite/E12.py | |
parent | 715aec6377e5d62106a9e5a5f1289d0bd9f23cfe (diff) | |
download | pep8-bbeb3108464748f1646c331c15ca7a64b4583023.tar.gz |
Fix minor E12 glitches.
Diffstat (limited to 'testsuite/E12.py')
-rw-r--r-- | testsuite/E12.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/E12.py b/testsuite/E12.py index 7b8313b..ffd2dda 100644 --- a/testsuite/E12.py +++ b/testsuite/E12.py @@ -156,6 +156,10 @@ print "hello", ( "there", # "john", "dude") +#: E121 +part = set_mimetype(( + a.get('mime_type', 'text')), + 'default') #: E126 troublesome_hash = { "hash": "value", @@ -238,6 +242,9 @@ rv.update(d=('a', 'b', 'c'), rv.update(d=('a' + 'b', 'c'), e=42, f=42 + 42) +#: E127 +input1 = {'a': {'calc': 1 + 2}, 'b': 1 + + 42} #: E128 rv.update(d=('a' + 'b', 'c'), e=42, f=(42 |