Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #11546 -- Modified the mail regression test to avoid getting hu…

…ng up on 32/64 bit differences. Thanks to Richard Davies for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4a01812c15eac2b40d8605764be79ba2578113d5 1 parent 5d57edc
Russell Keith-Magee authored July 25, 2009

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. 7  tests/regressiontests/mail/tests.py
7  tests/regressiontests/mail/tests.py
@@ -90,8 +90,8 @@
90 90
 
91 91
 # Make sure we can manually set the From header (#9214)
92 92
 
93  
->>> email = EmailMessage('Subject', 'Content', 'bounce@example.com', ['to@example.com'], headers={'From': 'from@example.com'}) 
94  
->>> message = email.message() 
  93
+>>> email = EmailMessage('Subject', 'Content', 'bounce@example.com', ['to@example.com'], headers={'From': 'from@example.com'})
  94
+>>> message = email.message()
95 95
 >>> message['From']
96 96
 'from@example.com'
97 97
 
@@ -115,8 +115,7 @@
115 115
 Date: Fri, 09 Nov 2001 01:08:47 -0000
116 116
 Message-ID: foo
117 117
 ...
118  
-Content-Type: multipart/alternative; boundary="..."
119  
-MIME-Version: 1.0
  118
+Content-Type: multipart/alternative;...
120 119
 ...
121 120
 Content-Type: text/plain; charset="utf-8"
122 121
 MIME-Version: 1.0

0 notes on commit 4a01812

Please sign in to comment.
Something went wrong with that request. Please try again.