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

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 details)

Uploaded Source

File details

Details for the file pytest-remove-stale-bytecode-2.1.zip.

File metadata

File hashes

Hashes for pytest-remove-stale-bytecode-2.1.zip
Algorithm Hash digest
SHA256 88b3d9d1d195d74a5de877c2fcb30f82ff08b540bc43535e6710073617b69579
MD5 ecffb91cf38f95a2318f60327c4ac21e
BLAKE2b-256 3d298389e329a55beb7b752d94fc28e9acaf6c3e6791f17cec86736a47853294

See more details on using hashes here.

Supported by

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