diff options
| author | Tim Graham <timograham@gmail.com> | 2016-05-14 19:06:31 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-14 19:06:31 -0400 |
| commit | e475e849703d937e158e75e7a6d9cb99090857f6 (patch) | |
| tree | b067aefddcb92ec4a0d926948ea1a423bdf8ee1b /docs/topics/testing/tools.txt | |
| parent | 5238af325729c4a3068f7e8e18edc9928972fab3 (diff) | |
Refs #26021 -- Used hanging indentation in some doc examples.
Diffstat (limited to 'docs/topics/testing/tools.txt')
| -rw-r--r-- | docs/topics/testing/tools.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 042608efbd..8db06c15a3 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1703,9 +1703,11 @@ and contents:: class EmailTest(TestCase): def test_send_email(self): # Send message. - mail.send_mail('Subject here', 'Here is the message.', + mail.send_mail( + 'Subject here', 'Here is the message.', 'from@example.com', ['to@example.com'], - fail_silently=False) + fail_silently=False, + ) # Test that one message has been sent. self.assertEqual(len(mail.outbox), 1) |
