浏览代码

Fixed a flake8 warning.

Simon Charette 10 年之前
父节点
当前提交
f6c208d95c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/mail/tests.py

+ 1 - 1
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)