detect temporary files left around by tests
Bug #587771 reported by
Adam Groszer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testing |
Invalid
|
Undecided
|
Unassigned | ||
zope.testrunner |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Some tests leave their temp files/folders undeleted.
Those are annoying and fill up the disk especially on buildbots.
To post a comment you must log in.
Unless you add an API for building the tempfiles in a specific location,
and change the tests to use that API, I can't see any way to detect leaked
tempfiles algorithmically: the best we could do is some kind of heuristic.
Please don't even *think* about monkey-patching the stdlib's tempfile module.