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:07:39 -0400 |
| commit | dbd72b850b487be37df2940d16697a2d57b73ac6 (patch) | |
| tree | 30783948c9aeb6216d5a43a3a9919b1b00af6d13 /docs/topics/testing/tools.txt | |
| parent | 936a7df6520941e264f741766281fc00e4709a2d (diff) | |
[1.9.x] Refs #26021 -- Used hanging indentation in some doc examples.
Backport of e475e849703d937e158e75e7a6d9cb99090857f6 from master
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 f9a8bafa77..8890afcf08 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1693,9 +1693,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) |
