This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients jhillacre, r.david.murray, xiang.zhang
Date 2017-05-22.21:47:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495489659.97.0.240188188589.issue30394@psf.upfronthosting.co.za>
In-reply-to
Content
It would be a white-box test, which I don't like, but it might be worth it to write a test that would check that <smtpobj>.sock is None, indicating that close was called.  You really can't check for no warning because when the warning gets generated is effectively asynchronous.
History
Date User Action Args
2017-05-22 21:47:40r.david.murraysetrecipients: + r.david.murray, xiang.zhang, jhillacre
2017-05-22 21:47:39r.david.murraysetmessageid: <1495489659.97.0.240188188589.issue30394@psf.upfronthosting.co.za>
2017-05-22 21:47:39r.david.murraylinkissue30394 messages
2017-05-22 21:47:39r.david.murraycreate