mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -127,9 +127,9 @@ class CookieTest(BaseTests, SimpleTestCase):
|
||||
messages = [
|
||||
{
|
||||
'message': Message(constants.INFO, 'Test message'),
|
||||
'message_list': [Message(constants.INFO, 'message %s')
|
||||
for x in range(5)] + [{'another-message':
|
||||
Message(constants.ERROR, 'error')}],
|
||||
'message_list': [
|
||||
Message(constants.INFO, 'message %s') for x in range(5)
|
||||
] + [{'another-message': Message(constants.ERROR, 'error')}],
|
||||
},
|
||||
Message(constants.INFO, 'message %s'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user