Lita Cho added the comment: I have a fix and added some test coverage in order to make sure the NNTFConnectError was being called. However, in the test case, I am monkey patching. If there is a way to do this with mock, I would appreciate the feedback.
---------- keywords: +patch Added file: http://bugs.python.org/file35922/nntplib_error.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1186900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com