remove_stale_bytecode stops test run, if unlink fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testing |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.testrunner |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When trying to remove stale bytecode files the developer is not allowed to the test run stops with the following traceback.
Removing stale bytecode file /home/zope/
Traceback (most recent call last):
...
File ".../zope/
failed = not run_with_
File ".../zope/
remove_
File ".../zope/
os.
OSError: [Errno 13] Permission denied: '/home/
It would be helpful to have an option to produce a warning instead.
This needs to be fixed in zope.testrunner, not zope.testing.