[Python-checkins] closes bpo-36712: Fix duplicate method in Lib/email/test/test_email_renamed.py. (GH-14800)

Benjamin Peterson webhook-mailer at python.org
Wed Sep 11 09:26:11 EDT 2019


https://github.com/python/cpython/commit/f9db011c323556ec68761263c6b91b2f75ca95ba
commit: f9db011c323556ec68761263c6b91b2f75ca95ba
branch: 2.7
author: Zackery Spytz <zspytz at gmail.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019-09-11T14:26:07+01:00
summary:

closes bpo-36712: Fix duplicate method in Lib/email/test/test_email_renamed.py. (GH-14800)

files:
M Lib/email/test/test_email_renamed.py

diff --git a/Lib/email/test/test_email_renamed.py b/Lib/email/test/test_email_renamed.py
index 5a41701271c5..206baaf59a6d 100644
--- a/Lib/email/test/test_email_renamed.py
+++ b/Lib/email/test/test_email_renamed.py
@@ -513,11 +513,6 @@ def test_encode_empty_payload(self):
         msg.set_charset('us-ascii')
         eq(msg['content-transfer-encoding'], '7bit')
 
-    def test_default_cte(self):
-        eq = self.assertEqual
-        msg = MIMEText('hello world')
-        eq(msg['content-transfer-encoding'], '7bit')
-
     def test_default_cte(self):
         eq = self.assertEqual
         # With no explicit _charset its us-ascii, and all are 7-bit



More information about the Python-checkins mailing list