diff --git a/tests/regressiontests/mail/tests.py b/tests/regressiontests/mail/tests.py index ba08929137..c8b85f48c6 100644 --- a/tests/regressiontests/mail/tests.py +++ b/tests/regressiontests/mail/tests.py @@ -9,8 +9,6 @@ r""" >>> email = EmailMessage('Subject', 'Content', 'from@example.com', ['to@example.com']) >>> message = email.message() ->>> message['Subject'] - >>> message['Subject'].encode() 'Subject' >>> message.get_payload() @@ -24,8 +22,6 @@ r""" >>> email = EmailMessage('Subject', 'Content', 'from@example.com', ['to@example.com','other@example.com']) >>> message = email.message() ->>> message['Subject'] - >>> message['Subject'].encode() 'Subject' >>> message.get_payload()