Refs #26021 -- Used hanging indentation in some doc examples.

This commit is contained in:
Tim Graham 2016-05-14 19:06:31 -04:00
parent 5238af3257
commit e475e84970
4 changed files with 30 additions and 20 deletions

View file

@ -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)