
report at bugs
Aug 9, 2013, 9:28 AM
Post #2 of 4
(11 views)
Permalink
|
|
[issue18670] Using read_mime_types function from mimetypes module gives resource warning
[In reply to]
|
|
R. David Murray added the comment: Since the TESTFN file is created only in this test, rather than use a tearDown method, it would be better to use addCleanup in the test method itself. ---------- nosy: +r.david.murray _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue18670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|