coveragepy
coveragepy copied to clipboard
The code coverage tool for Python
**Describe the bug** As the title said, this bug appears in [my project's action](https://github.com/HansBug/pji/runs/4818891749?check_suite_focus=true). **To Reproduce** This problem has been seen in python 3.8 once (in the previous attempt of...
*Originally reported by* **David MacIver (Bitbucket: [david_maciver_](https://bitbucket.org/david_maciver_), GitHub: Unknown)** ---------------------------------------- In some work I'm doing on Hypothesis, coverage is currently showing up some branches as missing that are covered. Unfortunately...
*Originally reported by* **Anonymous** ---------------------------------------- I recently tried to measure coverage of a program that calls os.execvpe, essentially causing the process to be replaced by a different one. This did...
*Originally reported by* **Samuel Colvin (Bitbucket: [samuelcolvin](https://bitbucket.org/samuelcolvin), GitHub: [samuelcolvin](https://github.com/samuelcolvin))** ---------------------------------------- I'm getting `CoverageException: Can't combine line data with arc dat` when using coverage with the pytest-cov pytest extension. I think...
`if typing.TYPE_CHECKING` blocks are never run but are still counted as needing test coverage. ( https://docs.python.org/3.7/library/typing.html#typing.TYPE_CHECKING ) **Example** ```python from typing import TYPE_CHECKING if TYPE_CHECKING: # coverage.py thinks this is...
**Describe the bug** After upgrading to coverage >= 5, `coverage run` outputs this error message for a Cython pxd file with certain conditions I describe below: ``` Can't add file...
**Describe the bug** `TomlConfigParser` fails to handle environment variables whose value is a JSON-encoded string. **To Reproduce** How can we reproduce the problem? Please *be specific*. Don't link to a...
**Describe the bug** Statements using `any()` with a generator expression are considered as having a branch on Coverage 6.0b1+, and there's no way to cover the `->exit` branch. **To Reproduce**...
**Describe the bug** Either source behaves weirdly in combination with xdist, or the documentation around how source/include work could be improved. When supplying certain source/include values in particular ways with...
This came up in https://github.com/microsoft/debugpy/issues/863#issuecomment-1059171271, where `debugpy` silently fails to hit API-set breakpoints when using coverage (e.g., `python -m debugpy … -m pytest --cov …`). Is this conflict something that...