Message238114
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. |
|
Date |
User |
Action |
Args |
2015-03-15 01:58:45 | martin.panter | set | recipients:
+ martin.panter, pitrou, serhiy.storchaka, rishi.maker.forum |
2015-03-15 01:58:45 | martin.panter | set | messageid: <1426384725.82.0.0809446205226.issue22351@psf.upfronthosting.co.za> |
2015-03-15 01:58:45 | martin.panter | link | issue22351 messages |
2015-03-15 01:58:45 | martin.panter | create | |
|