New submission from Brett Cannon <br...@python.org>: If you run ``test.regrtest -T`` you will discover that (at least) test_importlib and test_runpy prevent coverage data from being written out as 'trace' will try to find files which no longer exist. Both test suites create temp files, import them, and then delete them. Unfortunately 'trace' doesn't ignore that fact and throws an exception that the temporary files are gone.
Since the file is simply gone it probably makes sense to have 'trace' just print out a warning that the file could not be found and move on. ---------- components: Library (Lib) messages: 126909 nosy: brett.cannon priority: normal severity: normal stage: unit test needed status: open title: trace fails when test imported a temporary file type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10991> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com