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, vstinner
Date 2016-03-23.01:52:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458697946.92.0.922624292811.issue26612@psf.upfronthosting.co.za>
In-reply-to
Content
Wouldn’t it be better to fix the underlying problem with the test cases? As I understand it, that would also avoid the warnings :)

Also, you can often use self.addCleanup(s.close), which saves a level of indentation (and associated noise in the annotate history). I used this technique in my remaining patch for Issue 25940.
History
Date User Action Args
2016-03-23 01:52:26martin.pantersetrecipients: + martin.panter, vstinner
2016-03-23 01:52:26martin.pantersetmessageid: <1458697946.92.0.922624292811.issue26612@psf.upfronthosting.co.za>
2016-03-23 01:52:26martin.panterlinkissue26612 messages
2016-03-23 01:52:26martin.pantercreate