Skip to main content

py.test plugin to remove stale byte code files.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-remove-stale-bytecode-2.1.zip (8.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page