• Guido van Rossum's avatar
    Add "remove_stale_bytecode()". This removes .pyc and .pyo files that · efd87296
    Guido van Rossum authored
    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.
    efd87296
testrunner.py 12 KB