diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-03-21 04:33:30 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-03-21 04:33:30 (GMT) |
commit | e0a1bf313ff89519dc0e318e42fc8fdb174e1a86 (patch) | |
tree | 2831270213f4d77fffa670fef17af5a412083489 | |
parent | f72119d10f3443972d06c908dc9e85024007649c (diff) | |
parent | 6bd5202227f228292a94bbed21bbcbf3eb73d1b1 (diff) | |
download | cpython-e0a1bf313ff89519dc0e318e42fc8fdb174e1a86.zip cpython-e0a1bf313ff89519dc0e318e42fc8fdb174e1a86.tar.gz cpython-e0a1bf313ff89519dc0e318e42fc8fdb174e1a86.tar.bz2 |
Merge: #5713: One more test_smtplib timing fix.
-rw-r--r-- | Lib/test/test_smtplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index ffa7663..8f64ec1 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -831,8 +831,8 @@ class SMTPSimTests(unittest.TestCase): def test_with_statement_QUIT_failure(self): with self.assertRaises(smtplib.SMTPResponseException) as error: with smtplib.SMTP(HOST, self.port) as smtp: - self.serv._SMTPchannel.quit_response = '421 QUIT FAILED' smtp.noop() + self.serv._SMTPchannel.quit_response = '421 QUIT FAILED' self.assertEqual(error.exception.smtp_code, 421) self.assertEqual(error.exception.smtp_error, b'QUIT FAILED') |