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 martin.panter
Recipients martin.panter, pitrou, rishi.maker.forum, serhiy.storchaka
Date 2015-03-15.01:58:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426384725.82.0.0809446205226.issue22351@psf.upfronthosting.co.za>
In-reply-to
Content
Posting issue22351_nntp_fail_4.patch; changes:

* Merge mixin and main TestCase class; mixins like this are sometimes useful to work around Issue 22351, but not necessary in this case, because there is only one TestCase class involved.
* Turn the local server in the background thread into mock socket object, with makefile() returning a duplex stream object, reusing the existing _NNTPServerIO and NNTPv1Handler classes.
* Test socket closure by checking mock socket and stream objects directly, rather than relying on a lack of ResourceWarning.
History
Date User Action Args
2015-03-15 01:58:45martin.pantersetrecipients: + martin.panter, pitrou, serhiy.storchaka, rishi.maker.forum
2015-03-15 01:58:45martin.pantersetmessageid: <1426384725.82.0.0809446205226.issue22351@psf.upfronthosting.co.za>
2015-03-15 01:58:45martin.panterlinkissue22351 messages
2015-03-15 01:58:45martin.pantercreate