diff --git a/tests/mail/tests.py b/tests/mail/tests.py index ccfdc6c669..e510cf88f6 100644 --- a/tests/mail/tests.py +++ b/tests/mail/tests.py @@ -1058,7 +1058,7 @@ class SMTPBackendTests(BaseEmailBackendTests, SimpleTestCase): msg = None for i, m in enumerate(smtp_messages): if m[:4] == 'data': - msg = smtp_messages[i+1] + msg = smtp_messages[i + 1] break self.assertTrue(msg)