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 SilentGhost
Recipients SilentGhost, jdufresne
Date 2016-12-04.18:49:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480877381.51.0.0964548292643.issue28867@psf.upfronthosting.co.za>
In-reply-to
Content
Looking at the code it seems NamedTemporaryFile is closed on destruction of the object, so there is no need for ResourceWarning, because the file descriptor is not leaking.

You also don't need to involve unittest here. Just running python with -Wall would generate a warning if there is a need for one.
History
Date User Action Args
2016-12-04 18:49:41SilentGhostsetrecipients: + SilentGhost, jdufresne
2016-12-04 18:49:41SilentGhostsetmessageid: <1480877381.51.0.0964548292643.issue28867@psf.upfronthosting.co.za>
2016-12-04 18:49:41SilentGhostlinkissue28867 messages
2016-12-04 18:49:41SilentGhostcreate