Serhiy Storchaka added the comment: Here is a patch. It warns if new files or directories are left after test run in current directory and removes those of them which starts with TESTFN (i.e. TESTFN_UNICODE, TESTFN + "2", TESTFN + ".py" and other names used in tests).
---------- keywords: +patch nosy: +ezio.melotti, michael.foord, pitrou stage: -> patch review type: -> enhancement versions: +Python 2.7, Python 3.4 Added file: http://bugs.python.org/file36601/regrtest_warn_lost_files.patch _______________________________________ 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