You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-05-14.04:15:47.691>created_at=<Date2011-01-23.23:31:12.014>labels= ['type-bug', 'library']
title='trace fails when test imported a temporary file'updated_at=<Date2019-05-14.04:15:47.690>user='https://github.com/brettcannon'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: