Mikael Koli 4 лет назад
Родитель
Сommit
bfd52511ef
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      docs/tutorials/testing.rst

+ 2 - 4
docs/tutorials/testing.rst

@@ -105,8 +105,7 @@ Then to use this mock:
     )
 
     msgs = MockServer.messages
-    assert msgs == 
-    ["""from: me@example.com
+    assert msgs == ["""from: me@example.com
     subject: Some news
     to: you@example.com
     Content-Type: text/plain; charset="utf-8"
@@ -153,8 +152,7 @@ Then to use this class:
     )
 
     msgs = email.messages
-    assert msgs == 
-    ["""from: me@example.com
+    assert msgs == ["""from: me@example.com
     subject: Some news
     to: you@example.com
     Content-Type: text/plain; charset="utf-8"