diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-02-08 22:56:17 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-02-08 22:56:17 (GMT) |
commit | 66c3d18af1d20b780e7eabbbfb95049c48e3ce48 (patch) | |
tree | 2612a66c627ac3c49e46a9d81d0684039de46038 /Lib/test/test_email | |
parent | 127242654de9837f4ee544fc3b0a5b22030613e0 (diff) | |
parent | e9c31470e1680b7c9b9ee83c378b891e90ac58ab (diff) | |
download | cpython-66c3d18af1d20b780e7eabbbfb95049c48e3ce48.zip cpython-66c3d18af1d20b780e7eabbbfb95049c48e3ce48.tar.gz cpython-66c3d18af1d20b780e7eabbbfb95049c48e3ce48.tar.bz2 |
Merge: #14983: always add a line end after a MIME boundary marker.
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r-- | Lib/test/test_email/data/msg_02.txt | 1 | ||||
-rw-r--r-- | Lib/test/test_email/test_email.py | 15 |
2 files changed, 11 insertions, 5 deletions
diff --git a/Lib/test/test_email/data/msg_02.txt b/Lib/test/test_email/data/msg_02.txt index 43f2480..5d0a7e1 100644 --- a/Lib/test/test_email/data/msg_02.txt +++ b/Lib/test/test_email/data/msg_02.txt @@ -119,6 +119,7 @@ hello --__--__---- + --192.168.1.2.889.32614.987812255.500.21814 Content-type: text/plain; charset=us-ascii Content-description: Digest Footer diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py index d1e234d..26ed96c 100644 --- a/Lib/test/test_email/test_email.py +++ b/Lib/test/test_email/test_email.py @@ -1745,7 +1745,8 @@ From: bperson@dom.ain --BOUNDARY ---BOUNDARY--''') +--BOUNDARY-- +''') def test_no_parts_in_a_multipart_with_empty_epilogue(self): outer = MIMEBase('multipart', 'mixed') @@ -1790,7 +1791,8 @@ MIME-Version: 1.0 Content-Transfer-Encoding: 7bit hello world ---BOUNDARY--''') +--BOUNDARY-- +''') def test_seq_parts_in_a_multipart_with_empty_preamble(self): eq = self.ndiffAssertEqual @@ -1816,7 +1818,8 @@ MIME-Version: 1.0 Content-Transfer-Encoding: 7bit hello world ---BOUNDARY--''') +--BOUNDARY-- +''') def test_seq_parts_in_a_multipart_with_none_preamble(self): @@ -1842,7 +1845,8 @@ MIME-Version: 1.0 Content-Transfer-Encoding: 7bit hello world ---BOUNDARY--''') +--BOUNDARY-- +''') def test_seq_parts_in_a_multipart_with_none_epilogue(self): @@ -1868,7 +1872,8 @@ MIME-Version: 1.0 Content-Transfer-Encoding: 7bit hello world ---BOUNDARY--''') +--BOUNDARY-- +''') def test_seq_parts_in_a_multipart_with_empty_epilogue(self): |