From dbd72b850b487be37df2940d16697a2d57b73ac6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 14 May 2016 19:06:31 -0400 Subject: [1.9.x] Refs #26021 -- Used hanging indentation in some doc examples. Backport of e475e849703d937e158e75e7a6d9cb99090857f6 from master --- docs/topics/testing/tools.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/topics/testing/tools.txt') 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) -- cgit v1.3