Message294191
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. |
|
Date |
User |
Action |
Args |
2017-05-22 21:47:40 | r.david.murray | set | recipients:
+ r.david.murray, xiang.zhang, jhillacre |
2017-05-22 21:47:39 | r.david.murray | set | messageid: <1495489659.97.0.240188188589.issue30394@psf.upfronthosting.co.za> |
2017-05-22 21:47:39 | r.david.murray | link | issue30394 messages |
2017-05-22 21:47:39 | r.david.murray | create | |
|