diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-03-21 04:32:31 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-03-21 04:32:31 (GMT) |
commit | 6bd5202227f228292a94bbed21bbcbf3eb73d1b1 (patch) | |
tree | bb29bc41b494f04ae3f05e764c3784b39395f37c | |
parent | 54bd49d49b7624177f709f195a773be7607dbe4c (diff) | |
download | cpython-6bd5202227f228292a94bbed21bbcbf3eb73d1b1.zip cpython-6bd5202227f228292a94bbed21bbcbf3eb73d1b1.tar.gz cpython-6bd5202227f228292a94bbed21bbcbf3eb73d1b1.tar.bz2 |
#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 f538a9f..f93d355 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -837,8 +837,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') |