Add "remove_stale_bytecode()". This removes .pyc and .pyo files that
don't have a corresponding .py file, to prevent tests that import deleted modules from running using the stale bytecode files. This has bitten enough people enough times that it's time it became a standard part of every test suite runner. (Zope3 already has it.) Somebody merge this into the Zope2 trunk please.
Showing
Please register or sign in to comment