diff -r 8545624309f5 Lib/test/test_smtpnet.py --- a/Lib/test/test_smtpnet.py Wed Feb 25 20:48:01 2015 -0800 +++ b/Lib/test/test_smtpnet.py Thu Feb 26 12:01:05 2015 +0200 @@ -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')