summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_datastructures.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-26 12:15:03 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-26 12:15:03 -0700
commit9d740eb8b15de31f1c5520659df683d90342bb44 (patch)
tree62b6ff49e5a60467828f9b04d46b6ebeac86c333 /tests/utils_tests/test_datastructures.py
parentf2d8027c9aea93750fc4213d9e733c8575e89502 (diff)
downloaddjango-9d740eb8b15de31f1c5520659df683d90342bb44.tar.gz
Fix all violators of E231
Diffstat (limited to 'tests/utils_tests/test_datastructures.py')
-rw-r--r--tests/utils_tests/test_datastructures.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/utils_tests/test_datastructures.py b/tests/utils_tests/test_datastructures.py
index ca89e8541d..de63730379 100644
--- a/tests/utils_tests/test_datastructures.py
+++ b/tests/utils_tests/test_datastructures.py
@@ -139,14 +139,14 @@ class SortedDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
class MergeDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
def test_simple_mergedict(self):
- d1 = {'chris':'cool', 'camri':'cute', 'cotton':'adorable',
- 'tulip':'snuggable', 'twoofme':'firstone'}
+ d1 = {'chris': 'cool', 'camri': 'cute', 'cotton': 'adorable',
+ 'tulip': 'snuggable', 'twoofme': 'firstone'}
- d2 = {'chris2':'cool2', 'camri2':'cute2', 'cotton2':'adorable2',
- 'tulip2':'snuggable2'}
+ d2 = {'chris2': 'cool2', 'camri2': 'cute2', 'cotton2': 'adorable2',
+ 'tulip2': 'snuggable2'}
- d3 = {'chris3':'cool3', 'camri3':'cute3', 'cotton3':'adorable3',
- 'tulip3':'snuggable3'}
+ d3 = {'chris3': 'cool3', 'camri3': 'cute3', 'cotton3': 'adorable3',
+ 'tulip3': 'snuggable3'}
md = MergeDict(d1, d2, d3)
@@ -183,7 +183,7 @@ class MergeDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
[('key1', 'value1'), ('key2', 'value3'),
('key4', 'value6')])
- self.assertEqual([(k,mm.getlist(k)) for k in sorted(mm)],
+ self.assertEqual([(k, mm.getlist(k)) for k in sorted(mm)],
[('key1', ['value1']),
('key2', ['value2', 'value3']),
('key4', ['value5', 'value6'])])