nedbat/coveragepy
### [`v6.0.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-602--2021-10-11)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.0.1...6.0.2)
- Namespace packages being measured weren't properly handled by the new code
that ignores third-party packages. If the namespace package was installed, it
was ignored as a third-party package. That problem (`issue 1231`\_) is now
fixed.
- Packages named as "source packages" (with `source`, or `source_pkgs`, or
pytest-cov's `--cov`) might have been only partially measured. Their
top-level statements could be marked as unexecuted, because they were
imported by coverage.py before measurement began (`issue 1232`\_). This is
now fixed, but the package will be imported twice, once by coverage.py, then
again by your test suite. This could cause problems if importing the package
has side effects.
- The :meth:`.CoverageData.contexts_by_lineno` method was documented to return
a dict, but was returning a defaultdict. Now it returns a plain dict. It
also no longer returns negative numbered keys.
.. \_issue 1231:[https://github.com/nedbat/coveragepy/issues/1231](https://togithub.com/nedbat/coveragepy/issues/1231)1
.. \_issue 1232[https://github.com/nedbat/coveragepy/issues/1232](https://togithub.com/nedbat/coveragepy/issues/1232)32
.. \_changes\_601:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
Coverage remained the same at 88.829% when pulling 3a385762871eec47cf4ed7ab560c8b2eff9951d4 on renovate/coverage-6.x into 4033335410b9b04b1d413d1c087557cb3f00a63a on develop.
This PR contains the following updates:
==6.0.1
->==6.0.2
Release Notes
nedbat/coveragepy
### [`v6.0.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-602--2021-10-11) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.0.1...6.0.2) - Namespace packages being measured weren't properly handled by the new code that ignores third-party packages. If the namespace package was installed, it was ignored as a third-party package. That problem (`issue 1231`\_) is now fixed. - Packages named as "source packages" (with `source`, or `source_pkgs`, or pytest-cov's `--cov`) might have been only partially measured. Their top-level statements could be marked as unexecuted, because they were imported by coverage.py before measurement began (`issue 1232`\_). This is now fixed, but the package will be imported twice, once by coverage.py, then again by your test suite. This could cause problems if importing the package has side effects. - The :meth:`.CoverageData.contexts_by_lineno` method was documented to return a dict, but was returning a defaultdict. Now it returns a plain dict. It also no longer returns negative numbered keys. .. \_issue 1231:[https://github.com/nedbat/coveragepy/issues/1231](https://togithub.com/nedbat/coveragepy/issues/1231)1 .. \_issue 1232[https://github.com/nedbat/coveragepy/issues/1232](https://togithub.com/nedbat/coveragepy/issues/1232)32 .. \_changes\_601:Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.