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