6.0.1
Version 6.0.1 — 2021-10-06
- In 6.0, the coverage.py exceptions moved from coverage.misc to coverage.exceptions. These exceptions are not part of the public supported API, CoverageException is. But a number of other third-party packages were importing the exceptions from coverage.misc, so they are now available from there again (issue 1226).
- Changed an internal detail of how tomli is imported, so that tomli can use coverage.py for their own test suite (issue 1228).
- Defend against an obscure possibility under code obfuscation, where a function can have an argument called “self”, but no local named “self” (pull request 1210). Thanks, Ben Carlsson.
➡️ PyPI page: coverage 6.0.1.
➡️ To install: python3 -m pip install coverage==6.0.1