skip to navigation
skip to content

pytest-remove-stale-bytecode 2.1

py.test plugin to remove stale byte code files.

py.test plugin to remove stale bytecode

This plugin removes all stale bytecode files before running tests. This makes sure that Python modules – whose source was deleted – are not accidentally visible to the test runner anymore due to a left-over bytecode file (*.pyc, *.pyo).

This plugin was inspired by a feature of zope.testrunner.

CHANGES

2.1 (2015-10-01)

  • Also remove bytecode files under Python 3, that end with -PYTEST.

2.0 (2015-10-01)

  • Added support for removing byte code files under Python 3.

1.0 (2014-10-29)

  • initial release
 
File Type Py Version Uploaded on Size
pytest-remove-stale-bytecode-2.1.zip (md5) Source 2015-10-01 8KB