Message282355
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:41 | SilentGhost | set | recipients:
+ SilentGhost, jdufresne |
2016-12-04 18:49:41 | SilentGhost | set | messageid: <1480877381.51.0.0964548292643.issue28867@psf.upfronthosting.co.za> |
2016-12-04 18:49:41 | SilentGhost | link | issue28867 messages |
2016-12-04 18:49:41 | SilentGhost | create | |
|