Issue 10991: trace fails when test imported a temporary file
Created on 2011-01-23 23:31 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg126909 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2011-01-23 23:31 | |
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. |
|||
| msg223220 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014-07-16 15:20 | |
Knowing the platform this occurred on would be useful, but given the age do we care? |
|||
| msg342316 - (view) | Author: SilentGhost (SilentGhost) * ![]() |
Date: 2019-05-13 12:44 | |
Brett, is this something that is still relevant for the supported versions or are you OK with closing this issue as out of date or wont fix? |
|||
| msg342427 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2019-05-14 04:15 | |
Since I'm not bothered enough to check if this is still an issue I'm fine with closing this. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:11 | admin | set | github: 55200 |
| 2019-05-14 04:15:47 | brett.cannon | set | status: open -> closed resolution: out of date messages: + msg342427 stage: test needed -> resolved |
| 2019-05-13 12:44:10 | SilentGhost | set | nosy:
+ SilentGhost, brett.cannon messages: + msg342316 |
| 2019-04-26 19:46:02 | BreamoreBoy | set | nosy:
- BreamoreBoy -> (no value) |
| 2014-07-16 15:20:40 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages:
+ msg223220 |
| 2013-01-11 16:31:42 | brett.cannon | set | nosy:
- brett.cannon -> (no value) versions: + Python 3.4, - Python 3.3 |
| 2011-01-23 23:31:12 | brett.cannon | create | |

