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 vstinner
Recipients gvanrossum, vstinner, wabu, yselivanov
Date 2014-11-05.15:24:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415201062.65.0.613762011476.issue22685@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch with a simple unit test.

I chose to modify the pause_reading method of the transport instead of mocking "everything" to test the real code (have a better code coverage).
History
Date User Action Args
2014-11-05 15:24:22vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, wabu
2014-11-05 15:24:22vstinnersetmessageid: <1415201062.65.0.613762011476.issue22685@psf.upfronthosting.co.za>
2014-11-05 15:24:22vstinnerlinkissue22685 messages
2014-11-05 15:24:21vstinnercreate