Преглед на файлове

docs: fix error in code block

Mikael Koli преди 4 години
родител
ревизия
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"