coveragepy
coveragepy copied to clipboard
Partials on `def __init__(`
Describe the bug
We are getting 2 partials reported on a def __init__(
line. I don't see how that can be a partial.
To Reproduce Coverage report at: https://app.codecov.io/gh/aio-libs/aiohttp-session Source (with CI/config etc.): https://github.com/aio-libs/aiohttp-session (latest commit on master reproduces)
Python 3.8-3.11 Latest PyPI coverage (7.2.7)
Haven't run locally myself, but presumably something like this should work:
git clone https://github.com/aio-libs/aiohttp-session.git
cd aiohttp-session/
pip install -r requirements-dev.txt
pytest tests/ # cov args are in pytest.ini
Expected behavior No partials.