Fixed a flake8 warning.
This commit is contained in:
parent
a6a8268d19
commit
f6c208d95c
|
@ -1058,7 +1058,7 @@ class SMTPBackendTests(BaseEmailBackendTests, SimpleTestCase):
|
||||||
msg = None
|
msg = None
|
||||||
for i, m in enumerate(smtp_messages):
|
for i, m in enumerate(smtp_messages):
|
||||||
if m[:4] == 'data':
|
if m[:4] == 'data':
|
||||||
msg = smtp_messages[i+1]
|
msg = smtp_messages[i + 1]
|
||||||
break
|
break
|
||||||
|
|
||||||
self.assertTrue(msg)
|
self.assertTrue(msg)
|
||||||
|
|
Loading…
Reference in New Issue