STINNER Victor added the comment: > This allow other tests which leaks the same file to be reported too.
I don't understand your answer. The "fn.startswith(support.TESTFN)" test is not used in get_files(). If I understood correctly, your patch changes two things: - it now reports files created for tests but not deleted (purpose of this issue) - it removes more files than before I don't understand why you want to remove more files than before. You may open a different issue, or at least explain the rationale. I never see any forgotten test file after running tests, so I don't see why you are worried because of them. And with your first patch, we will now noticed forgotten files, so we can just fix tests. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22390> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com