[Python-checkins] cpython (3.4): Issue #23527: Update Gmail port number for STARTTLS to 587.

berker.peksag python-checkins at python.org
Mon Mar 2 06:40:50 CET 2015


https://hg.python.org/cpython/rev/06d69688ea06
changeset:   94815:06d69688ea06
branch:      3.4
parent:      94813:9f2ef8654bf8
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Mon Mar 02 07:40:36 2015 +0200
summary:
  Issue #23527: Update Gmail port number for STARTTLS to 587.

Patch by Alex Shkop.

files:
  Lib/test/test_smtpnet.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py
--- a/Lib/test/test_smtpnet.py
+++ b/Lib/test/test_smtpnet.py
@@ -21,7 +21,7 @@
 
 class SmtpTest(unittest.TestCase):
     testServer = 'smtp.gmail.com'
-    remotePort = 25
+    remotePort = 587
 
     def test_connect_starttls(self):
         support.get_attribute(smtplib, 'SMTP_SSL')

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list