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 <>
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.
Date User Action Args
2016-12-04 18:49:41SilentGhostsetrecipients: + SilentGhost, jdufresne
2016-12-04 18:49:41SilentGhostsetmessageid: <>
2016-12-04 18:49:41SilentGhostlinkissue28867 messages
2016-12-04 18:49:41SilentGhostcreate